Hi guys!
I have a layerslider (link in private content) with a video on my landing page. Most of the times the video doesn’t start playing – sometimes it does though. Is that maybe correlated with the size of the video and eventual loading times? Thanks!
Hey Ushbot,
The video played without issue for me. It could simply be a matter of browser or server responsiveness. Perhaps you can try to use optimization plugins to reduce resource load times and see if that improves the situation.
Best regards,
Jordan Shannon
ok – thanks!
Hi,
I get this error when I visited the site.
VM92:1 Uncaught (in promise) DOMException: play() failed because the user didn’t interact with the document first. https://goo.gl/xX8pDD
Mute the video to have it autoplay on page load.
// https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
Autoplay with sound is allowed if:
User has interacted with the domain (click, tap, etc.).
On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously play video with sound.
On mobile, the user has added the site to his or her home screen.
Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.
Best regards,
Ismael
awesome! thanks for the input – i would have never guessed that but that was the cause and now it’s working perfectly! Thanks
Hi,
Great, glad we could help :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
feel free to close :) thanks