KingDownloads

ArtPlayer

by maiwenchang 601 stars Apache-2.0Media & Creativity

About ArtPlayer

ArtPlayer is a Kotlin-based video player for Android that decouples MediaPlayer from VideoView. It allows switching between different player cores like ExoPlayer and ijkPlayer. The player supports custom control views and provides MediaPlayerManager for implementing full-screen and small-screen modes.

The player includes features like gesture controls, gravity sensing, and lifecycle awareness for pausing playback during activity pauses and stopping during destruction. It supports various video sources including raw assets and local files.

Key features

  • Supports ijkPlayer and ExoPlayer as playback cores
  • Full-screen and small-screen playback modes
  • Fully customizable UI
  • Mute and loop playback functionality
  • Variable playback speed (IjkPlayer only)
  • Multiple simultaneous player instances
  • Supports raw assets and local video files
  • Gesture controls for dragging, zooming, brightness, and volume

Download 1.1.0

Jun 7, 2020

No direct download assets detected for the latest release.

View all 4 versions

Frequently asked questions

Is ArtPlayer free?
Yes. ArtPlayer is free and open-source software, distributed under the Apache-2.0 license.
What is the latest version of ArtPlayer?
The latest version is 1.1.0, released on Jun 7, 2020.
What is the minimum Android API level required?
ArtPlayer requires Android API level 21 or higher.
How do I add ArtPlayer to my project?
Add the core dependency 'org.salient.artvideoplayer:artplayer-core:1.1.0' and optional player implementations like ExoPlayer or IjkPlayer.
What license does ArtPlayer use?
ArtPlayer is licensed under the Apache License, Version 2.0.
How do I handle full-screen mode?
The player includes MediaPlayerManager for full-screen implementation. Activities must declare configChanges for orientation and screenSize in the manifest.

More Media & Creativity