The video component can be used to embed video content in a weex page.
- text is the only valid type of child component.
- src: <string> The URL of the video to embed.
- play-status: <boolean> play | pause. Use it to control video’s play/pause status. Default value is pause.
- auto-play: <boolean> true | false. Use it to control whether it is playing when the page initialization finished. Defalut value is false.
common styles: check out common styles for components
- support flexbox related styles
- support box model related styles
- support position related styles
- support opacity, background-color etc.
- onstart: triggered when playback state is Playing.
- onpause: triggered when playback state is Paused.
- onfinish: triggered when playback state is Finished.
- onfail: triggered when playback state is Failed.