diff options
author | Sam Potts <me@sampotts.me> | 2017-11-04 14:45:06 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2017-11-04 14:45:06 +1100 |
commit | 069c8093aefec9f23f3ff38de6041f8f90edf022 (patch) | |
tree | 157005bd109bbce0c1fbbb6115319f19ec115bc7 /src/js/plugins/vimeo.js | |
parent | 1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f (diff) | |
download | plyr-069c8093aefec9f23f3ff38de6041f8f90edf022.tar.lz plyr-069c8093aefec9f23f3ff38de6041f8f90edf022.tar.xz plyr-069c8093aefec9f23f3ff38de6041f8f90edf022.zip |
Small bug fixes
Diffstat (limited to 'src/js/plugins/vimeo.js')
-rw-r--r-- | src/js/plugins/vimeo.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/js/plugins/vimeo.js b/src/js/plugins/vimeo.js index 99b55e32..12632f64 100644 --- a/src/js/plugins/vimeo.js +++ b/src/js/plugins/vimeo.js @@ -78,6 +78,15 @@ const vimeo = { player.media.paused = true; player.media.currentTime = 0; + // Playback speed + // Not currently supported in Vimeo + Object.defineProperty(player.media, 'playbackRate', { + get() { + return null; + }, + set() {}, + }); + // Rebuild UI ui.build.call(player); |