Merge captions setText and setCue into updateCues (fixes #998 and vimeo cuechange event)
This commit is contained in:
@@ -895,7 +895,7 @@ class Plyr {
|
||||
this.captions.language = language;
|
||||
|
||||
// Clear caption
|
||||
captions.setText.call(this, null);
|
||||
captions.updateCues.call(this, []);
|
||||
|
||||
// Update captions
|
||||
captions.setLanguage.call(this);
|
||||
|
||||
Reference in New Issue
Block a user