Hi there, our team has developed a website with a video background on the hero section. It works fine when we are logged in and editing the page but if someone visited the site for the first time, for example, the video background is not showing unless we move the mouse around the page. We’ve tried debugging for plugins and themes issues, as well as reaching out to our hosting support to see if there are any internal issues that might have caused it but to no avail. Finally, we tested with a different theme and decided to use just the default WordPress Gutenberg editor and it works as expected.
wp-rocket has it own code for Beaver Builder, Nitropack is a premium service we have no access too, for me the video is still playing. Im sure both plugins have a way to disable certain js files from being optimised
Your video autoplays for me in the major browsers. But, your video has a stereo audio channel. It’s silent, but it’s present. Try re-encoding with no audio channel.
Thanks for checking. We disabled caching on our live link. You can test the staging link here https://platesmartstag.wpengine.com/ here you can still see the issue.
the video is waiting for the ready/onload event… .something is holding it up, the event eventually fires and the video plays. open the dev console you’ll see what i mean, takes approx 4.1m then it happens.
It appears to be a call to jscloud.net for the file inlinks.js. You can check your browser dev tools for actual performance info. When I just let the page sit without interacting with it, the video does eventually load.