react-native-youtube-bridge
v2.2.1
Published
π₯ Easy-to-use YouTube player for React Native with cross-platform support
Downloads
9,722
Maintainers
Readme
React Native Youtube Bridge
English | νκ΅μ΄
Overview
react-native-youtube-bridge provides a typed, hook-based YouTube player for React Native apps across iOS, Android, and Web.
Key Features
- π₯ YouTube IFrame Player API without native YouTube modules
- πͺ
useYouTubePlayer+YoutubeViewhook-based API - π Typed events with
useYouTubeEvent - π iOS, Android, and React Native Web support
- π§© Inline HTML and external WebView rendering modes
- π§ TypeScript support
Quick Start
π Documentation
Full documentation is available at: https://react-native-youtube-bridge-docs.pages.dev
Examples & Demo
π€ AI
Installation
npm install react-native-youtube-bridgeBasic Usage
import { YoutubeView, useYouTubePlayer } from 'react-native-youtube-bridge';
function App() {
const player = useYouTubePlayer('AbZH7XWDW_k');
return <YoutubeView player={player} />;
}For the complete guide, see the documentation.
