Vimeo auto-video does not work in Safari 11: NotAllowedError

Since the last Safari update to version 11, some videos have stopped working. The worst part is that sometimes, in just five attempts, it works. I thought the reason was my JS script, which integrates the Vimeo Player API, but it ends up with even the Vimeo embed link not working at all.

So, when you open the embedded video in Safari 11, it does not start and is completely blocked. You can see this by opening, i.e. https://player.vimeo.com/video/XXXXXXXX?autoplay=1

In the console log you can get something like:

Unhandled Promise Rejection: NotAllowedError (DOM Exception 35): The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

+6
source share
2 answers

Decision

Export your video again without soundtrack.

, Safari 11 , .

enter image description here

, , , . sovolume :

enter image description here

+4

. mousemove mousemove. , . .

0

Source: https://habr.com/ru/post/1686467/


All Articles