Merge pull request #2182 from smali-kazmi/master

Update README.md
This commit is contained in:
Eran Hammer 2022-04-22 14:10:20 -07:00 committed by GitHub
commit c4c723b5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

141
README.md
View File

@ -103,11 +103,11 @@ First select your project in Xcode.
<img src="./docs/tvOS-step-1.jpg" width="40%"> <img src="./docs/tvOS-step-1.jpg" width="40%">
After that, select the tvOS target of your application and select « General » tab After that, select the tvOS target of your application and select « General » tab
<img src="./docs/tvOS-step-2.jpg" width="40%"> <img src="./docs/tvOS-step-2.jpg" width="40%">
Scroll to « Linked Frameworks and Libraries » and tap on the + button Scroll to « Linked Frameworks and Libraries » and tap on the + button
<img src="./docs/tvOS-step-3.jpg" width="40%"> <img src="./docs/tvOS-step-3.jpg" width="40%">
@ -289,74 +289,83 @@ var styles = StyleSheet.create({
``` ```
### Configurable props ### Configurable props
* [allowsExternalPlayback](#allowsexternalplayback) | Name |Plateforms Support |
* [audioOnly](#audioonly) |--|--|
* [automaticallyWaitsToMinimizeStalling](#automaticallyWaitsToMinimizeStalling) |[allowsExternalPlayback](#allowsexternalplayback) |iOS |
* [bufferConfig](#bufferconfig) |[audioOnly](#audioonly)|All |
* [controls](#controls) |[automaticallyWaitsToMinimizeStalling](#automaticallyWaitsToMinimizeStalling) | iOS|
* [currentPlaybackTime](#currentPlaybackTime) |[bufferConfig](#bufferconfig)|Android ExoPlayer|
* [disableFocus](#disableFocus) |[controls](#controls)|Android ExoPlayer, iOS, react-native-dom|
* [filter](#filter) |[currentPlaybackTime](#currentPlaybackTime)|Android Exoplayer|
* [filterEnabled](#filterEnabled) |[disableFocus](#disableFocus)|Android Exoplayer, iOS|
* [fullscreen](#fullscreen) |[filter](#filter)|iOS|
* [fullscreenAutorotate](#fullscreenautorotate) |[filterEnabled](#filterEnabled)|iOS|
* [fullscreenOrientation](#fullscreenorientation) |[fullscreen](#fullscreen)|iOS|
* [headers](#headers) |[fullscreenAutorotate](#fullscreenautorotate)|iOS|
* [hideShutterView](#hideshutterview) |[fullscreenOrientation](#fullscreenorientation)|iOS|
* [id](#id) |[headers](#headers)|Android ExoPlayer|
* [ignoreSilentSwitch](#ignoresilentswitch) |[hideShutterView](#hideshutterview)|Android ExoPlayer|
* [maxBitRate](#maxbitrate) |[id](#id)|react-native-dom|
* [minLoadRetryCount](#minLoadRetryCount) |[ignoreSilentSwitch](#ignoresilentswitch)|iOS|
* [mixWithOthers](#mixWithOthers) |[maxBitRate](#maxbitrate)|Android ExoPlayer, iOS|
* [muted](#muted) |[minLoadRetryCount](#minLoadRetryCount)|Android ExoPlayer|
* [paused](#paused) |[mixWithOthers](#mixWithOthers)|iOS|
* [pictureInPicture](#pictureinpicture) |[muted](#muted)|All|
* [playInBackground](#playinbackground) |[paused](#paused)|All|
* [playWhenInactive](#playwheninactive) |[pictureInPicture](#pictureinpicture)|iOS|
* [poster](#poster) |[playInBackground](#playinbackground)|Android ExoPlayer, Android MediaPlayer, iOS|
* [posterResizeMode](#posterresizemode) |[playWhenInactive](#playwheninactive)|iOS|
* [preferredForwardBufferDuration](#preferredForwardBufferDuration) |[poster](#poster)|All|
* [preventsDisplaySleepDuringVideoPlayback](#preventsDisplaySleepDuringVideoPlayback) |[posterResizeMode](#posterresizemode)|All|
* [progressUpdateInterval](#progressupdateinterval) |[preferredForwardBufferDuration](#preferredForwardBufferDuration)|iOS|
* [rate](#rate) | [preventsDisplaySleepDuringVideoPlayback](#preventsDisplaySleepDuringVideoPlayback)|iOS, Android|
* [repeat](#repeat) |[progressUpdateInterval](#progressupdateinterval)|All|
* [reportBandwidth](#reportbandwidth) |[rate](#rate)|All|
* [resizeMode](#resizemode) |[repeat](#repeat)|All|
* [selectedAudioTrack](#selectedaudiotrack) |[reportBandwidth](#reportbandwidth)|Android ExoPlayer|
* [selectedTextTrack](#selectedtexttrack) |[resizeMode](#resizemode)|Android ExoPlayer, Android MediaPlayer, iOS, Windows UWP|
* [selectedVideoTrack](#selectedvideotrack) |[selectedAudioTrack](#selectedaudiotrack)|Android ExoPlayer, iOS|
* [source](#source) |[selectedTextTrack](#selectedtexttrack)|Android ExoPlayer, iOS|
* [stereoPan](#stereopan) |[selectedVideoTrack](#selectedvideotrack)|Android ExoPlayer|
* [textTracks](#texttracks) |[source](#source)|All|
* [trackId](#trackId) |[stereoPan](#stereopan)|Android MediaPlayer|
* [useTextureView](#usetextureview) |[textTracks](#texttracks)|Android ExoPlayer, iOS|
* [volume](#volume) |[trackId](#trackId)|Android ExoPlayer|
|[useTextureView](#usetextureview)|Android ExoPlayer|
|[volume](#volume)|All|
### Event props ### Event props
* [onAudioBecomingNoisy](#onaudiobecomingnoisy) | Name |Plateforms Support |
* [onBandwidthUpdate](#onbandwidthupdate) |--|--|
* [onEnd](#onend) |[onAudioBecomingNoisy](#onaudiobecomingnoisy)|Android ExoPlayer, iOS|
* [onExternalPlaybackChange](#onexternalplaybackchange) |[onBandwidthUpdate](#onbandwidthupdate)|Android ExoPlayer|
* [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent) |[onEnd](#onend)|All|
* [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent) |[onExternalPlaybackChange](#onexternalplaybackchange)|iOS|
* [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss) |[onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent)|Android ExoPlayer, Android MediaPlayer, iOS|
* [onFullscreenPlayerDidDismiss](#onfullscreenplayerdiddismiss) |[onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent)|Android ExoPlayer, Android MediaPlayer, iOS|
* [onLoad](#onload) |[onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss)|Android ExoPlayer, Android MediaPlayer, iOS|
* [onLoadStart](#onloadstart) |[onFullscreenPlayerDidDismiss](#onfullscreenplayerdiddismiss)|Android ExoPlayer, Android MediaPlayer, iOS|
* [onReadyForDisplay](#onreadyfordisplay) |[onLoad](#onload)|All|
* [onPictureInPictureStatusChanged](#onpictureinpicturestatuschanged) |[onLoadStart](#onloadstart)|All|
* [onPlaybackRateChange](#onplaybackratechange) |[onReadyForDisplay](#onreadyfordisplay)|Android ExoPlayer, Android MediaPlayer, iOS, Web|
* [onProgress](#onprogress) |[onPictureInPictureStatusChanged](#onpictureinpicturestatuschanged)|iOS|
* [onSeek](#onseek) |[onPlaybackRateChange](#onplaybackratechange)|All|
* [onRestoreUserInterfaceForPictureInPictureStop](#onrestoreuserinterfaceforpictureinpicturestop) |[onProgress](#onprogress)|All|
* [onTimedMetadata](#ontimedmetadata) |[onSeek](#onseek)|Android ExoPlayer, Android MediaPlayer, iOS, Windows UWP|
|[onRestoreUserInterfaceForPictureInPictureStop](#onrestoreuserinterfaceforpictureinpicturestop)|iOS|
|[onTimedMetadata](#ontimedmetadata)|Android ExoPlayer, Android MediaPlayer, iOS|
### Methods ### Methods
* [dismissFullscreenPlayer](#dismissfullscreenplayer) | Name |Plateforms Support |
* [presentFullscreenPlayer](#presentfullscreenplayer) |--|--|
* [save](#save) |[dismissFullscreenPlayer](#dismissfullscreenplayer)|Android ExoPlayer, Android MediaPlayer, iOS|
* [restoreUserInterfaceForPictureInPictureStop](#restoreuserinterfaceforpictureinpicturestop) |[presentFullscreenPlayer](#presentfullscreenplayer)|Android ExoPlayer, Android MediaPlayer, iOS|
* [seek](#seek) |[save](#save)|iOS|
|[restoreUserInterfaceForPictureInPictureStop](#restoreuserinterfaceforpictureinpicturestop)|iOS|
|[seek](#seek)|All|
### Configurable props ### Configurable props