On Media Player Event Listener
Used for events related to ColibrioAudioPlayer state changes.
Functions
Called when the ColibrioAudioPlayer has reached the end of the timeline.
Called when an error occurred in the ColibrioAudioPlayer.
Called when the ColibrioAudioPlayer.paused property has changed to true, and playback has stopped.
Called when the ColibrioAudioPlayer.paused property has changed to false. The player will resume playback when ready.
Called when the ColibrioAudioPlayer.ready property has changed to true. The player has enough data to start playing. If the paused
property of the player is false, the playback will resume immediately.
The player has seeked to a new position in the timeline.
The player has started seeking to a new position in the timeline. The seeking operation has completed when onSeeked is called.
Called when the player has received additional information about a SyncMediaSegmentData's duration (such as after loading the media) and it did not match with the approximated value. The segment has been updated with the new duration value and the total duration of the timeline has also been updated.
Called when SyncMediaPlayer.timelinePosition has changed. During playback, this method is called approximately every 200ms.
Called when the player is waiting for data to be loaded. The player will call onReady when it is no longer waiting for data to be loaded.