I used an uploaded mp4 file as a background video but it does not autoplay while loading or reloading the website. When I click on the home link in the menu it starts playing. Does anyone know the cause or a fix for it?
I fixed it by using and styling the video widget in stead of setting a background video. This is the working homepage which also auto plays in Chrome: https://ho.maarevenonline.nl/
From what I can tell, it looks like Chrome thinks the video.muted attribute is set to false and so autoplay is not allowed. I currently adding my own workaround by collecting the videos from the DOM tree and setting video.muted to true and invoking the play function. It’s challenging because the only videos on the DOM tree are the ones in the vh.
Hi guys,
I’ve just tested this with the upcoming Bricks 1.4 and in case of my video, it autoplays without sound and any issues (unlike the same video with Bricks 1.3.7)
@timmse I just ran across this “bug”? as well. It appears to only autoplay with mute enabled. However, if you click on the video, even turning off the controls, it still allows you to start/stop the video. I don’t know if this is by design? Also, please clarify what ‘play inline’ does?
Since April 2018, Google made some changes to the Autoplay Policy. You not only need to add the autoplay=1 as a query param, but also add allow=‘autoplay’ as an iframe’s attribute
So while embed YouTube video, you will have to do something like this:
Hey everybody. The reason why video is not running in edge is most likely because you are running a dedicated GPU witch means DirectX. Edge video Runs only in OpenGL. Took me a lot of frustrating hours to finally figure it out. When I switched my MSI laptop from dedicated to Hybrid and restarted i opened up Edge and the background starting playing automatically. Thats because it was able to see the Intel GPU to use OpenGL for the video.
For MSI laptops the setting is in MSI Center >features>General settings>GPU Switch For all other laptops google and Bing are your best friends