Added tvOS paltform support (#682)
* [tvOS] Update podspec * [tvOS] Add tvOS target * Update README.md * [docs] Folder that contains pictures and content for documentation * tvOS Readme * [JPEG] Update image to JPEG
This commit is contained in:
24
README.md
24
README.md
@@ -29,6 +29,30 @@ If you would like to allow other apps to play music over your video component, a
|
||||
```
|
||||
Note: you can also use the `ignoreSilentSwitch` prop, shown below.
|
||||
|
||||
#### tvOS
|
||||
|
||||
Run `react-native link` to link the react-native-video library.
|
||||
|
||||
`react-native link` don’t works properly with the tvOS target so we need to add the library manually.
|
||||
|
||||
First select your project in Xcode.
|
||||
|
||||
<img src="./docs/tvOS-step-1.jpg" width="40%">
|
||||
|
||||
After that, select the tvOS target of your application and select « General » tab
|
||||
|
||||
<img src="./docs/tvOS-step-2.jpg" width="40%">
|
||||
|
||||
Scroll to « Linked Frameworks and Libraries » and tap on the + button
|
||||
|
||||
<img src="./docs/tvOS-step-3.jpg" width="40%">
|
||||
|
||||
Select RCTVideo-tvOS
|
||||
|
||||
<img src="./docs/tvOS-step-4.jpg" width="40%">
|
||||
|
||||
That’s all, you can use react-native-video for your tvOS application
|
||||
|
||||
#### Android
|
||||
|
||||
Run `react-native link` to link the react-native-video library.
|
||||
|
||||
Reference in New Issue
Block a user