https://github.com/cawfree/react-native-simple-youtube-player
A <YouTubePlayer /> for React Native, without SDK or API dependencies.
https://github.com/cawfree/react-native-simple-youtube-player
player react react-native youtube
Last synced: 3 months ago
JSON representation
A <YouTubePlayer /> for React Native, without SDK or API dependencies.
- Host: GitHub
- URL: https://github.com/cawfree/react-native-simple-youtube-player
- Owner: cawfree
- License: mit
- Created: 2019-09-30T12:32:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T08:36:46.000Z (over 6 years ago)
- Last Synced: 2025-03-16T21:38:25.053Z (over 1 year ago)
- Topics: player, react, react-native, youtube
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-simple-youtube-player
A <YouTubePlayer /> for React Native, without SDK or API dependencies.
## 🚀 Getting Started
Using [`npm`]():
```sh
yarn add react-native-simple-youtube-player
```
Using [`yarn`]():
```sh
yarn add react-native-simple-youtube-player
```
## ✍️ Example
The `` exported by this library is trivial to get started with; after all, it _is_ just a ``. Just define the `videoId` of the content you wish to render, and the `style` of your ``, and away you go!
```javascript
import React from 'react';
import { WebView } from 'react-native';
import SimpleYouTubePlayer from 'react-native-simple-youtube-player';
export default () => (
);
```
## ✌️ License
[MIT](https://opensource.org/licenses/MIT)