• English
  • 2.x
  • Installation

    Install the main package:

    npm
    yarn
    pnpm
    bun
    deno
    npm install react-native-youtube-bridge

    Peer dependency

    react-native-youtube-bridge uses react-native-webview on iOS and Android.

    Install it in your app if it is not already present:

    npm
    yarn
    pnpm
    bun
    deno
    npm install react-native-webview

    Minimum expectations

    PackageVersion
    react>=16.8.0
    react-native>=0.60.0
    react-native-webview>=11.0.0

    What you get after install

    The main package exports:

    • useYouTubePlayer
    • useYouTubeEvent
    • YoutubeView
    • public event and config types
    • useYoutubeOEmbed

    If you only need the normal player flow, you do not need to install @react-native-youtube-bridge/web.