文件最后提交记录最后更新时间
!1058 修改JsVideo,更新Readme相关说明,位置Sample权限配置修改 * update README_zh.md 3 年前
!1058 修改JsVideo,更新Readme相关说明,位置Sample权限配置修改 * update README_zh.md 3 年前
!625 API工程适配 JsDotTest、JsVideo、JsAudioPlayer、LiteStorage到API8 * 修改DFX/JsDocTest文件README * 修改文件格式 * 适配工程LiteStorage、JsAudioPlayer、JsVideo、JsDotTest API7到API8 4 年前
!966 README整改 * update README_zh.md 3 年前
!625 API工程适配 JsDotTest、JsVideo、JsAudioPlayer、LiteStorage到API8 * 修改DFX/JsDocTest文件README * 修改文件格式 * 适配工程LiteStorage、JsAudioPlayer、JsVideo、JsDotTest API7到API8 4 年前
!625 API工程适配 JsDotTest、JsVideo、JsAudioPlayer、LiteStorage到API8 * 修改DFX/JsDocTest文件README * 修改文件格式 * 适配工程LiteStorage、JsAudioPlayer、JsVideo、JsDotTest API7到API8 4 年前
!858 901适配 * Merge branch 'master' of gitee.com:openharmony/app_samples into master * nativeAPI、multiMedia * 901适配 * 格式 * 修改package.json的格式 * 901适配 3 年前
README.md

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

  1. Start the sample app. The <video> component is displayed and the preset video is loaded. The video is not played currently.

  2. 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.

  3. 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.