Readme merge

This commit is contained in:
Sam Potts
2018-02-06 11:06:46 +11:00
parent f67315e20c
commit 211db12a3d
8 changed files with 14 additions and 32 deletions

View File

@ -78,7 +78,7 @@ const captions = {
// Setup HTML5 track rendering
if (this.isHTML5 && this.isVideo) {
captions.getTracks.call(this).forEach(track => {
// Remove previous bindings
// Show track
utils.on(track, 'cuechange', event => captions.setCue.call(this, event));
// Turn off native caption rendering to avoid double captions