soflyy / breakdance-bugs

Bug reports from Breakdance users.
38 stars 5 forks source link

Video Autoplay + Sound On for Lightbox #831

Open maxproway opened 1 year ago

maxproway commented 1 year ago

Hi, I'm trying to use lightbox video as pop up.

When I using vimeo - there no sound and no autoplay. YouTube - no sound but have autoplay.

Adding ?autoplay=1&mute=0 doesn't help, since the system automatically adds ?autoplay=0&mute=1 to the embed iframe.

I don't know is it bug (because users have to click 3 times to lunch the video: pop up trigger, unmute a sound and click a play button) or its a feature. In the case of the second could you please add a settings to lightbox video content to have an ability to set autoplay and sound.

Thank you!

jeffmitchdotcom commented 1 year ago

Yes, please! If the user is pressing a button to launch a video, it should minimally not have it be muted by default with no way to override. I can understand wanting to avoid autoplaying videos with sound on a page when nothing is done by the user to trigger a video -- but even that should be at the discretion of the web designer to build a positive experience for their visitors.

Adding manual settings for the Button > Link > Lightbox > Video Type for AutoPlay and Mute would be amazing!

breakdancemoderator commented 1 month ago

The issue is with the lightGallery module we are using https://github.com/sachinchoolur/lightGallery/issues/1378.

We remain hopeful for this to be addressed in that module, but ultimately trust the author's judgement. We are open to patching / forking the lightGallery module if the original author deems the issue invalid.

However, and perhaps more importantly, browser vendors / users tend not to like autoplay w/ sound on and fighting them on this tends to be a losing battle.

This issue will remain open.