Video Player
Introduction
Based on HarmonyOS AVPlayer, learn how to implement video playback.

Concepts
- AVPlayer: a video playback component.
- XComponent: a component that can accept and display the EGL/OpenGL ES and media data input.
- PanGesture: panning gesture. When the minimum sliding distance is 5 vp, the recognition is successful.
How to Use
- Obtain local and network videos.
- Play videos by using AVPlayer.
- Use gestures to adjust the screen brightness and video playback volume.
Constraints
- The sample is only supported on Huawei phones with standard systems.
- HarmonyOS: HarmonyOS 5.0.5 Release or later.
- DevEco Studio: DevEco Studio 6.0.2 Release or later.
- HarmonyOS SDK: HarmonyOS 6.0.2 Release SDK or later.