Releases: alugha/player
Releases · alugha/player
v0.3.3
New player options:
- userInterfaceLanguage: Controls the locale of the user interface of the player.
New events:
- ResetReady: Triggered when the player was reset, for example, when a new video of a watchlist has started to load.
- VideoLoading: Triggered when the video has started to load. This may happen more than once if a watchlist is specified.
Fixes:
- Events are now triggered correctly when watchlists are used and another video is loaded.
- Commands that were issued while a new video of a watchlist is loading are now enqueued and executed once the new video is ready.
- One function can now be used to handle multiple events by calling
Player.on
multiple times, using different event names but the same callback function. Previously, this caused issues whenPlayer.off
was called as it would remove the callback function from all events it was registered for instead of only the specified event.
v0.2.0
New player options:
- hideControls: Whether the player controls should be hidden. This does not have any effect if your alugha subscription does not support this feature.
New events:
- VideoChange: Triggered when the user has jumped to a different timestamp in the video and resumed playback from there.
- AudioTrackChange: Triggered when the audio track has been changed. This may happen if the user has selected a different audio language from the settings menu.
- TextTrackChange: Triggered when the text track (closed captions or subtitles) has been changed. This may happen if the user has selected a different text language from the settings menu.
v0.1.0
First release of the alugha player SDK.