The current repo belongs to Paused status, and some functions are restricted. For details, please refer to the description of repo status
10 Star 71 Fork 72

OpenHarmony/app_samples
Paused

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/app_samples.git
git@gitee.com:openharmony/app_samples.git
openharmony
app_samples
app_samples
master

Search