diff options
author | Sam Potts <sam@potts.es> | 2020-01-30 14:23:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 14:23:40 +0000 |
commit | 58f5380694993891892e4e24ba0904434892e538 (patch) | |
tree | 4de3d7b46d33192a43a0b40c3f3a9a5f90f9b071 /src/js/plugins/vimeo.js | |
parent | 9d512911252cf4835c2b7364cb4ae392cb277a1d (diff) | |
parent | fefcca78052174dce73f8dfe7df5b264edb0653a (diff) | |
download | plyr-58f5380694993891892e4e24ba0904434892e538.tar.lz plyr-58f5380694993891892e4e24ba0904434892e538.tar.xz plyr-58f5380694993891892e4e24ba0904434892e538.zip |
Merge pull request #1662 from sampotts/develop
3.5.7
Diffstat (limited to 'src/js/plugins/vimeo.js')
-rw-r--r-- | src/js/plugins/vimeo.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/js/plugins/vimeo.js b/src/js/plugins/vimeo.js index 91019abf..8df5ad15 100644 --- a/src/js/plugins/vimeo.js +++ b/src/js/plugins/vimeo.js @@ -335,6 +335,14 @@ const vimeo = { } }); + player.embed.on('bufferstart', () => { + triggerEvent.call(player, player.media, 'waiting'); + }); + + player.embed.on('bufferend', () => { + triggerEvent.call(player, player.media, 'playing'); + }); + player.embed.on('play', () => { assurePlaybackState.call(player, true); triggerEvent.call(player, player.media, 'playing'); |