All changes to this project will be documented in this file.
- Use Analytics endpoint v2
- Upgrade to gradle 8.5
- Upgrade dependencies
- Release
MediaSession
when player is released - Fix
isMuted
andvolume
API - Rename
videoId
tomediaId
inVideoOptions
- Simplify controller constructors
- Use /session endpoint for private live stream
- Tests: fix failed due to emulator timeout
- Add a
compose-player
module to use the player with Jetpack Compose - Add a specific component to hande full screen for view-based usage:
see
ApiVideoPlayerFullScreenController
. - Add an API to set/get how the video is displayed in its parent view: see
viewFit
. - Move to gradle 8
- Upgrade to Kotlin 1.9
- Add
isLive
API - Fix a crash on ExoPlayer Analytics when position < 0.0f
- Fix a crash with parsing of URL on old Android versions due to group named capture
- Add support for Android 21 to 34
- Migrate ExoPlayer to
media3
- Upgrade dependencies
- Fix obfuscation on release builds by updating Kotlin serialization plugin
- Add API to set playback speed
- Add API to use an api.video URL instead of a video ID (see
VideoOptions.fromUrl
)
- Add support for live streaming
- Remove call to
player.json
endpoint - Implements new VOD private video mechanism
- Add API for media controls and notifications
- Add extensions to set up videos for several Android players: ExoPlayer, MediaPlayer, VideoView.
- Fix 400 error on analytics
ApiVideoPlayerController.duration
returns0
when video is not loaded
- Fix the display of the fullscreen button
- The
ApiVideoPlayerController.Listener
is not mandatory to simplify usage
- Add an API to loop video. See
ApiVideoPlayerController.isLooping
. - Add an API to automatically play video once it has been loaded.
See
ApiVideoPlayerController.autoplay
.
- Add an API to get the video size: see
videoSize
. - Add an API to get player state: see
isPlaying
. - Add an API to seek from an offset.
- Add the
ApiVideoPlayerController
that takes aSurface
as a parameter.
- Split
ApiVideoPlayer
in 2 classes:ApiVideoExoPlayerView
for player view andApiVideoPlayerController
for technical. - Externalize analytics in a specific analytics module
- First version