Merge pull request #981 from friday/hls-captions

Improve captions handling for streaming
This commit is contained in:
Sam Potts
2018-05-30 21:44:42 +10:00
committed by GitHub
6 changed files with 55 additions and 78 deletions

View File

@ -55,8 +55,10 @@ const ui = {
// Remove native controls
ui.toggleNativeControls.call(this);
// Captions
captions.setup.call(this);
// Setup captions for HTML5
if (this.isHTML5) {
captions.setup.call(this);
}
// Reset volume
this.volume = null;