I’ve recently been trying to incorporate a video from YouTube, but nothing seems to auto-play and always shows the player controls no matter what the setting is. This is on desktop view too (I’m aware autoplay may not work on mobile devices).
What am I doing wrong, or is this a defect perhaps?
I’ve followed other recommendations by keeping it muted and such too, but seems to make no difference, unfortunately.
Steps to reproduce:
In editor, add Video element
In Video element, add a YouTube video ID as required by Bricks
Select Autoplay and Mute and Loop settings for example
It will show fine on the editor, but if you save and go to the frontend you’ll find that it loads the basic player view and does not autoplay. Try this in Chrome and/or Safari.
I have the issue the other way around: controls are NOT displayed, despite the toggle being On.
The controls are displayed when Autoplay is on.
The combination of Autoplay On and Controls Off gives controls and does NOT autoplay. This is the situation I want, to it feels the options are not correct.
Hi guys,
Let’s stay with YouTube videos for a moment. I don’t think this is a Bricks problem, because even if I copy the iFrame embed code from YouTube and attach parameters like autoplay=1 and/or controls=0, it doesn’t work as expected either (tested in a different theme, too).
It does on the first call, but not after that. So either something is wrong with the YouTube iFrame API, or the browser or system is preventing it from playing again.
However, if the video is muted, it works for me in any case - that would indicate a browser/OS restriction, which of course we can’t do anything about.