You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- It may not work on Android simulator, in that case please run on device.
63
65
- For a more detailed example, please see [example/App.js](https://github.com/manse/react-native-brightcove-player/blob/master/example/App.js).
64
66
65
-
| Prop | Type | Required | Note |
66
-
| ---- | ---- | -------- | ---- |
67
-
| accountId | string | y | Brightcove AccountId |
68
-
| policyKey | string | y | Brightcove PolicyKey |
69
-
| videoId | string | y*| Brightcove VideoId. *Either videoId or referenceId is required |
70
-
| referenceId | string | y*| Brightcove ReferenceId. *Either videoId or referenceId is required |
71
-
| autoPlay | boolean | n | Whether to play automatically when video loaded |
72
-
| play | boolean | n | Control playback and pause |
73
-
| onReady | Function | n | Indicates the video can be played back |
74
-
| onPlay | Function | n | Indicates the video playback starts |
75
-
| onPause | Function | n | Indicates the video is paused |
76
-
| onEnd | Function | n | Indicates the video is played to the end |
77
-
| onProgress | Function | n | Indicates the playback head of the video advances. The playback info is passed as the first argument; `{ currentTime: number }`|
0 commit comments