silvermine / videojs-chromecast

MIT License
148 stars 75 forks source link

feat: textTrack (e.g. subtitles) support, session restoring/resuming support #89

Closed jbreemhaar closed 2 years ago

jbreemhaar commented 3 years ago

TextTrack support

Added support for textTracks (e.g. subtitles, captions, descriptions). The active track will automatically be enabled on chromecast. Switching and disabling works. For details, see https://developers.google.com/cast/docs/chrome_sender/advanced#using_the_tracks_apis https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.Track https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.Media#editTracksInfo

Session restoring/resuming

Added support for restoring chromecast sessions. E.g. when a user refreshes/reloads the player, it will automatically restore its state as if no refresh happened. See https://developers.google.com/cast/docs/chrome_sender/integrate

jbreemhaar commented 3 years ago

I'm having trouble with Travis. I've squashed the commit messages into two with correct format, but it keeps trying to work with those squashed commits. Any suggestions @jthomerson ?

davidboutet commented 3 years ago

What is going on with this pull request?

davidboutet commented 3 years ago

@jbreemhaar @jthomerson any updates about this PR?

jthomerson commented 2 years ago

Closing in lieu of #112