DiscussionsCategory: Popups for DiviYouTube videos in popup are choppy in Chrome
Avatarcliff asked 2 months ago

I can’t figure out why this is the case, but YouTube videos in a popup on Chrome play very choppy and laggy. It drops lots of frames, playing back probably at about 5fps, and the video is also about a half second behind the audio.

It’s odd, because the popup videos play perfectly in both Safari and Firefox — it’s just in Chrome where they’re choppy.

Is this something that can be fixed in a future release?

In the meantime, do you have any suggestion for how to fix this temporarily?

1 Reply
Avatarcliff answered 2 months ago

Okay, I did figure it out.

In CSS, on the .da-overlay-visible .da-overlay class, I disabled:

backdrop-filter: saturate(180%) blur(5px);

After that, the video played smoothly.

I’m fine not having a blurred background as long as the videos play smoothly.

In a future update, it might be good to add a toggle to control whether or not the background behind the popup is blurred. Either that, or maybe there’s another way to blur the background which doesn’t have such a significant performance hit on Chrome.

Great plugin, by the way!