Comment on page
Video *
This component provides video playback capabilities with optional controls for play, pause, etc.
This component is not included by default, to use it import the following package:
NPM
Yarn
$ npm i react-ult-ext-video
$ yarn add react-ult-ext-video
- Flexbox Styles
- View Styles
- Transform Styles
Name | Type | Description |
accessibilityLabel | string |
|
authToken | string |
|
loop | boolean |
|
onBuffer | () => void |
|
onCanPlay | () => void |
|
onCanPlayThrough | () => void |
|
onEnded | () => void |
|
onError | () => void |
|
onLoadedData | (info: VideoInfo) => void |
|
onLoadStart | () => void |
|
onProgress | (progress: VideoProgress) => void |
|
preload | 'auto'|'metadata'|'none' |
|
resizeMode | 'contain'|'cover'|'stretch' |
|
showControls | boolean |
|
source | string | number |
|
style | ViewStyleRuleSet | ViewStyleRuleSet[] |
|
Last modified 3yr ago