Fix for .stop() method (fixes #819)

This commit is contained in:
Sam Potts
2018-03-22 01:02:38 +11:00
parent 17041efc71
commit c251c94131
12 changed files with 66 additions and 41 deletions

View File

@@ -101,10 +101,8 @@ const vimeo = {
};
player.media.stop = () => {
player.embed.stop().then(() => {
player.media.paused = true;
player.currentTime = 0;
});
player.pause();
player.currentTime = 0;
};
// Seeking