All changes to this project will be documented in this file.
- Add
download()method
- Add
isFullScreeninfullscreenchangeevent
- Add ESM target
- Add hotkeys parameter
- Add custom domain
- Add experimental methods
- Add chromecast & airplay events
- Add isLiveStream()
- Add ads support
- Add
sequenceoption
- Add
privateSessionoption
- Add
getPlaying()method
- Apply
setVideoStyleObjectFit()andsetVideoStyleTransform()to poster.
- Add
setVideoStyleObjectFit()andsetVideoStyleTransform()methods.
- When loadConfig() is called, apply the last config settings
- Fix showControls & hideControls methods when called before the player is ready.
- add exitFullscreen(), requestFullscreen(), exitPictureInPicture() and requestPictureInPicture()
- add showPoster() and hidePoster()
- Add event callback types
- Delay some methods execution after ready event is received
- Add playbackRate option
- Add hideTitle() and showTitle() methods
- Add setAutoplay() method
- Add
chromelessmode - Add
hidePosteroption
- Add the possibility to show/hide the "more" button
- Add the possibility to directly provide a DOM Element at instantiation
- Add
controlsparameter inhideControls()andshowControls()
- Add
allow="autoplay"in iframe tag
- Add setTheme method
- Add showSubtitles() / hideSubtitles() methods
- Add "token" in SdkOptions type
- Add setPlaybackRate(), showControls(), hideControls() & getPlaybackRate methods
- Add new player events
- Add loadConfig method
- Add "hideTitle" & "token" options
- Add "hideControls" and "loop" options
- Fix a string/number comparaison
- getPaused, getMuted, getDuration, getCurrentTime, getVolume and getLoop now return promises
- Add some unit test
- Add the possibility to specify metadata