UniPlayer
Functions
Listen to the playback event (error, warning) that happened during playback.
Listen to the player state that happened during playback.
Enable repeat mode
Get all audio track(s) of the playback.
Get current buffered time during playback
Get the current audio track of the playback.
Returns the current live offset
Get the media config data set to the player.
Get the current playback speed value.
Get the current playback quality.
Get the current subtitle of the playback.
Get current window in timeline
Get the total duration of the playback.
Check current playback is Live or not.
Returns max live offset for configuration
Returns min live offset for configuration
Get the current playback position.
Get all quality(ies) during playback.
Get all subtitle(s) of the playback.
Returns target live offset for configuration
Return the cropped bitmap according to positionMs
Check if the current progress is the latest
Check if the current media config supports thumbnail seeking
Set the media source config into the player.
Set the media source config into the player for offline playback.
Play the previous episode
Remove the event listener
Remove the state event listener
Set the specific audio track of the playback.
Listen to the cast event when the device is connected
Set the current playback speed value.
Set PlayerOptions
update player logger
Set the playback quality of the playback video.
Set or disable the playback subtitle of the playback video.
set the colors of UI