• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Video Player
2
3### Introduction
4
5This 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.
6
7### Usage
8
91. Start the sample app. The home screen displays the local videos.
10
112. 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.
12
133. Touch the **Pause** or **Play** button to pause or play the video.
14
154. Touch the **Previous** or **Next** button to switch between videos.
16
17
18### Constraints
19
201. This sample can only be run on standard-system devices.
21
222. This sample demonstrates the stage model, which supports only API version 9.
23
243. This sample requires DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022) to compile and run.
25