JsVideo
Introduction
This sample shows how to use the JS UI component <video> to implement video playback. You can play a video and pause the playback through the control bar of the <video> component.
Usage
-
Start the sample app. The <video> component is displayed and the preset video is loaded. The video is not played currently.
-
Touch the play button on the control bar at the bottom to play the video. Touch the video screen to pause or resume the playback.
-
Touch and hold the video screen to exit the playback. The screen will be reloaded.
Constraints
This sample can only be run on standard-system devices.