文件最后提交记录最后更新时间
!622 新增VideoPlayer * update readme * update * update * add VideoPlayer * add VideoPlayer 4 年前
!999 编译问题增加替换FULL SDK说明 * update readme 3 年前
!887 README整改 * readme update 3 年前
!717 Done! 全量翻译---VideoPlayer * Added English VideoPlayer readme 3 年前
!1129 README 增加Full SDK说明,增加USB监听说明 * update README_zh.md 3 年前
!622 新增VideoPlayer * update readme * update * update * add VideoPlayer * add VideoPlayer 4 年前
!622 新增VideoPlayer * update readme * update * update * add VideoPlayer * add VideoPlayer 4 年前
!858 901适配 * Merge branch 'master' of gitee.com:openharmony/app_samples into master * nativeAPI、multiMedia * 901适配 * 格式 * 修改package.json的格式 * 901适配 3 年前
README.md

Video Player

Introduction

This sample shows how to play a video using VideoPlayer in eTS. It also provides an ability that can be invoked by other applications to play the video.

Usage

  1. Start the sample app. The home screen displays the local videos.

  2. Touch a video to enter the video playback screen. The video title is displayed on the top of the screen, the Pause, Previous, and Next buttons are displayed in the middle of the screen, and the playback progress bar is displayed at the bottom of the screen.

  3. Touch the Pause or Play button to pause or play the video.

  4. Touch the Previous or Next button to switch between videos.

Constraints

  1. This sample can only be run on standard-system devices.

  2. This sample demonstrates the stage model, which supports only API version 9.

  3. The DevEco Studio version used in this sample must be 3.0.0.900 or later.