-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent issue with Safari : running an audio without an user action #2410
Comments
Can you provide a Fiddle where I can see this issue please? |
It's not mine but this one shows the issue. https://jsfiddle.net/outaTiME/m0fj0dLz/ After more research I still don't think this is an issue on your side, but something that safari (and chrome in january 2018) requires now. So maybe you only need to add a disclaimer on your README ;) |
https://www.macworld.com/article/3206724/websites/how-to-stop-autoplay-videos-in-safari-11.html Following this link you could be able to make fiddle.js autoplay its videos. |
So if this is not on the player, can you create a PR to state this on the README please, and I'll review it? |
Done. Note added on README. Thanks for pointing this and please star the project to support it |
Hi,
Since recently, when I try to run an audio element without and user action (after an HTTP call, for example), Safari fails (the audio does not run) and shows this error :
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.
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.
Safari version : 11
MacOS: High Sierra
Mediaelement: 4.2.6
PS : I know this was also the case on MacOS previous version (Sierra) but I can't check the previous Safari version too.
Thanks !
The text was updated successfully, but these errors were encountered: