-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Video background do not play on safari #4535
Comments
Can you try using the latest version?
This page is not using the latest fullPage.js version |
I'm asking because I'm having this issue on my website too. |
I've tested it using browserstack.com and Safari 16.3 and it seems to be working just fine. The error message on your screenshot says "possible because the user denied permission", so I'd check your browser configuration to make sure you allow auto playing videos. You can also try from different computers to see if you get any problem in those and discard the possibility of being a configuration on your current browser. Another thing you can try is adding the attribute <video width="400" controls muted data-autoplay> You use: <video width="400" controls muted data-autoplay playsinline> |
Yes, I already have the The weird thing is that the autoplay works if I leave the section and then go back to it. Thank you for your answer. |
Try to isolate the issue and remove fullPage.js from the equation. Chances are this is a JS/HTML problem rather than a fullPage.js one. You can play with this codepen and modify it to make some tests: |
Well, It's not working either on an other Mac I tried. But you were right. It seems like it has nothing to do with fullpage.js I'll try on stack overflow then. Thanks for your help ! |
Hello Alvaro,
Sorry to bother you with this,
Do you have any idea why the video autoplay works one time out of ten loadings in Safari ?
Even on your page: https://alvarotrigo.com/fullPage/examples/videoBackground.html
I get this on the console:
The text was updated successfully, but these errors were encountered: