react-native-youtube-iframe

A simple wrapper around the youtube iframe js API for react native

Usage no npm install needed!

<script type="module">
  import reactNativeYoutubeIframe from 'https://cdn.skypack.dev/react-native-youtube-iframe';
</script>

README

React Native Youtube iframe

npm npm

A wrapper of the Youtube IFrame player API build for react native.

  • ✅ Works seamlessly on both ios and android platforms
  • ✅ Does not rely on the native youtube service on android (prevents unexpected crashes, works on phones without the youtube app)
  • ✅ Uses the webview player which is known to be more stable compared to the native youtube app
  • ✅ Access to a vast API provided through the iframe youtube API
  • ✅ Supports multiple youtube player instances in a single page
  • ✅ Fetch basic video metadata without API keys (uses oEmbed)
  • ✅ Works on modals and overlay components
  • ✅ Expo support

ios

Installation and Documentation

react-native-youtube-iframe

Contributing

Pull requests are welcome!

Read the contributing guide for project setup and other info

License

MIT