@@ -11,7 +11,9 @@ A wrapper of the Youtube IFrame player API build for react native.
1111- ✅ Supports multiple youtube player instances in a single page
1212- ✅ Fetch basic video metadata without API keys (uses oEmbed)
1313- ✅ Works on modals and overlay components
14- - ✅ Expo support
14+ - ✅ Expo support
15+
16+ ![ ios] ( ./doc/demo.gif?raw=true ' ios ')
1517
1618## Prerequisite
1719
@@ -21,16 +23,15 @@ This package uses react-hooks and therefore will need **react-native `0.59` or a
2123
2224## Installation
2325
24- 1 . First install ` react-native-webview ` .
26+ 1 . First install ` react-native-webview ` .
2527
2628- Bare React Native app - [ Instructions] ( https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md )
29+
2730 - React Native version ** ` 0.60 ` and above** , install the latest version of react-native-webview
2831 - React Native version ** below ` 0.60 ` ** , react-native-webview version ` 6.11.1 ` is the last version that supports it.
2932
3033- Expo Managed App - [ Instructions] ( https://docs.expo.io/versions/latest/sdk/webview/ )
3134
32-
33-
34352 . Run - ` npm install react-native-youtube-iframe `
3536
3637## Usage
@@ -50,7 +51,7 @@ const [playing, setPlaying] = useState(true);
5051 width= {400 }
5152 videoId= {" AVAc1gYLZK0" }
5253 play= {playing}
53- onChangeState= {event => console .log (event )}
54+ onChangeState= {event => console .log (event )}
5455 onReady= {() => console .log (" ready" )}
5556 onError= {e => console .log (e)}
5657 onPlaybackQualityChange= {q => console .log (q)}
@@ -63,8 +64,6 @@ const [playing, setPlaying] = useState(true);
6364/ >
6465```
6566
66- ![ ios] ( ./doc/demo.gif?raw=true ' ios ')
67-
6867## API reference
6968
7069** [ Click here for full reference] ( ./doc ) **
0 commit comments