WAIT: Video element autoplay not working in Safari & Chrome desktop

Browser: Safari & Chrome
OS: macOS

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?

Screenshots of the video element configuration:

In the editor:

While it shows fine in the editor, in the frontend it shows this weird view instead (it remains paused, it does not autoplay):

I’ve followed other recommendations by keeping it muted and such too, but seems to make no difference, unfortunately.

Steps to reproduce:

  1. In editor, add Video element
  2. In Video element, add a YouTube video ID as required by Bricks
  3. Select Autoplay and Mute and Loop settings for example
  4. 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.

Related (but without a working fix for my testing): SOLVED: Background video does not autoplay in Chrome

Hey Dustin,

no issues on my end with the following settings:

See Chrome and Safari.

Best,

André

Hello, some of my clients get the same error for all type of video…

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.

Strange behaviour.

Hi
I have this problem too.

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.

That would explain it. I didn’t check if it was Youtube. I cannot find any discussion on this as well.

If I mute it, the controls are visible, but it still needs to be on autoplay which I don’t want.