redxtech / vue-plyr

A Vue component for the plyr (https://github.com/sampotts/plyr) video & audio player.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get "play() failed because the user didn't interact with the document first." error on Chrome

Jesus1124 opened this issue · comments

In order to avoid this problem, I muted the video and it plays well.
But when I try to unmute it, the video is paused and I get the error above.

Please let me know if there's a simple way to solve this issue.
Thanks.

same here... probably related to this: sampotts/plyr#2138
This is not fixed with latest plyr (3.6.4)

Hello everyone.
I am using the latest vue-plyr and plyr (v3.6.4) and experiencing the same problem. Got the same console error logs
Uncaught (in promise) NotAllowedError: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD
The problem can be reproduced in the Chrome browser only (Windows, Mac, mobile devices). After some research found that video can play only when muted or when it was clicked directly on the iframe (need to remove plyr overlays).
Thanks for any information and help