Plyr: Speed/playback rate error when using Vimeo embed is back

Created on 20 Feb 2020  路  2Comments  路  Source: sampotts/plyr

This seems to be the same bug as https://github.com/sampotts/plyr/issues/840. That one was fixed in v3.0.7 but seems to have crept back in since v3.5.7. I鈥檝e tried it using v3.5.6 and there鈥檚 no error.

Expected behaviour

Embed Vimeo file with no errors in the console.

Actual behaviour

Console error.

Steps to reproduce

Create a Plyr instance using a Vimeo file from an account that鈥檚 not on a paid plan.

Environment

  • Browser: Chrome
  • Version: 80.0.3987.106
  • Operating System: macOS Catalina
  • Version: 10.15.2

Console errors (if any)

Uncaught (in promise) Error: Setting the playback rate is not enabled for this video.

Link to where the bug is happening

https://codepen.io/sampsonpete/pen/OJVRQdW

Most helpful comment

Just submitted a pull request to fix this: https://github.com/sampotts/plyr/pull/1697

All 2 comments

Just submitted a pull request to fix this: https://github.com/sampotts/plyr/pull/1697

Nice one @hug963. Thanks for sorting so quickly! I鈥檇 just figured it out and got working locally, too.

In case anyone else is interested: the catch for the playback speed function in vimeo.js (added in v3.0.7) has gone missing. Adding it back in fixes the error.

Was this page helpful?
0 / 5 - 0 ratings