Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/LonelyCpp/react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://github.com/LonelyCpp/react-native-youtube-iframe

android expo iframe ios react-native youtube youtube-api youtube-player youtube-video

Last synced: 7 days ago
JSON representation

A wrapper of the Youtube-iframe API built for react native.

Awesome Lists containing this project

README

        

# React Native Youtube iframe

![npm](https://img.shields.io/npm/v/react-native-youtube-iframe?style=for-the-badge) ![npm](https://img.shields.io/npm/dm/react-native-youtube-iframe?style=for-the-badge)

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](./website/static/img/demo.gif?raw=true 'ios')

## Installation and Documentation

[react-native-youtube-iframe](https://lonelycpp.github.io/react-native-youtube-iframe/)

## Contributing

Pull requests are welcome!

Read the [contributing guide](./CONTRIBUTING.md) for project setup and other info

## License

[MIT](https://choosealicense.com/licenses/mit/)