npm.io
2.2.1 • Published 1 month ago

react-native-youtube-bridge

Licence
MIT
Version
2.2.1
Deps
2
Size
168 kB
Vulns
0
Weekly
3.3K
Stars
48

React Native Youtube Bridge

English | 한국어

React Native Youtube Bridge logo

Overview

react-native-youtube-bridge provides a typed, hook-based YouTube player for React Native apps across iOS, Android, and Web.

Demo of react-native-youtube-bridge

Key Features

  • YouTube IFrame Player API without native YouTube modules
  • useYouTubePlayer + YoutubeView hook-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-bridge
Basic 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.

License

MIT

Keywords