Fix display for current language on change

This commit is contained in:
Sam Potts
2017-11-25 01:19:16 +11:00
parent cda574e627
commit fd77831303
9 changed files with 35 additions and 26 deletions

View File

@ -275,8 +275,8 @@ const vimeo = {
player.media.buffered = data.percent;
utils.dispatchEvent.call(player, player.media, 'progress');
// Check all loaded
if (parseInt(data.percent, 10) === 1) {
// Trigger event
utils.dispatchEvent.call(player, player.media, 'canplaythrough');
}
});