catch error in setPlaybackRate on Vimeo
This commit is contained in:
parent
977a8393f8
commit
0cf5d25a7f
@ -204,6 +204,9 @@ const vimeo = {
|
||||
player.embed.setPlaybackRate(input).then(() => {
|
||||
speed = input;
|
||||
triggerEvent.call(player, player.media, 'ratechange');
|
||||
}).catch(() => {
|
||||
// Cannot set Playback Rate, Video is probably not on Pro account
|
||||
player.options.speed = [1];
|
||||
});
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user