YouTube controls in background video

Hey all,

Recently spotted something that wasn’t there before (as far as I know). I have several websites that have a hero section with a YouTube video (link) as a background. Works perfectly fine, but I recently found out that you see the controls for about 5 seconds. Can’t click it because it’s a background and it fades away after a couple of seconds.

As far as I know, this wasn’t there when I built it. Does anyone know if anything changed? Is there a new setting I missed? Is it a bug or a YouTube thing?

More important: how do I get rid of it? Haha. If anyone knows, thanks a bunch!

I’m having the same issue suddenly on this website. Anybody have any idea on how to stop the “controls” from showing up?

https://northcocottages.com/

Hi guys,
I just tested the link @Raimo provided in Chrome, Safari and Firefox on macOS and there are no visible controls.

Which browser and which operating system are you using when this happens? Does it work in incognito mode/without browser extensions?

Hey timmse,

I see the controls for about 5 seconds when it just loaded the background video (YouTube link). Happens in Chrome and Safari on my Macbook Air. Also happens on my iPhone 17 Pro in Safari and Chrome app..

Maybe you see the issue on one of my sites?

All Dutch sorry haha.

There was a time these controls weren’t there and they don’t come back after they’ve shown for about 5 seconds. Weird right?

Cheers and thanks in advance!

EDIT: the link Raimo shared now seems fixed? I also don’t see any controls anymore with his background video. @Raimo did you fix it?

Thanks @Robbert!

Could you temporarily disable LiteSpeed’s JS delay/defer optimization and purge the cache to see if the YouTube controls still appear? If that fixes it, please re-enable it and add exclusions for youtube.com/iframe_api, youtube.com/embed, www.youtube.com, and bricks/assets/js/frontend.

Also please test with “Lazy Load iframes” disabled, or exclude the parent class bricks-background-video-wrapper from iframe lazy loading.

Tried everything you suggested, nothing worked unfortunately :frowning:

It wasn’t this way when I built it a while ago, so maybe you guys or YouTube updated something? Curious to see if Raimo fixed it or not.

Thanks for replying so quickly @timmse!

To stop the “Controls” from happening, I switched from using a Youtube embedded video, to a self-hosted one. Not a solution I like, but this is a low visit site, so there isn’t that much strain on the server.

It seems like this is the only viable solution, since YouTube unfortunately doesn’t offer any other controls that would allow us to prevent this. modestbranding was deprecated some time ago—until then, as far as I can tell, it wasn’t a problem, but as I said, unfortunately there doesn’t seem to be an adequate replacement.

That’s unfortunate, but we’ll live. I mean, it’s not THAT big of a deal, but was just curious to see if it could be changed.

Thanks for checking it out and all, appreciate it!