Modal Youtube Video Doesn't Autoplay (anymore?) - Question | JoomShaper

Modal Youtube Video Doesn't Autoplay (anymore?)

LR

Laurent Robin

SP Page Builder 11 months ago

I'm sure in the past it did work. using the modal popup for a youtube video, the video started automatically to play when the modal window opened.

I can also see in the code the autoplay parameter is set. <iframe class="mfp-iframe" src="//www.youtube.com/embed/dydRS9u76qg?autoplay=1&amp;rel=&quot;0&quot;" frameborder="0" allowfullscreen=""></iframe>

Here is a Page for testing: (i have the same issue on all my sites) https://conzept.robilau.com/

Any Idea how to fix please?

Joomla 5.2.2 SPBB 5.4.2 Helix 3

0
5 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 11 months ago #177141

Hello Laurent,

Thank you for reaching out to us. I understand your concern. Currently, we have kept it this way, but I can pass this feedback to our team to consider adding an option to enable video autoplay in the settings.

Thank you for your understanding.

Best regards,

0
LR
Laurent Robin
Accepted Answer
11 months ago #177144

Oh ok. i really thought it did work in the past. Yes it would be really cool.

The problem is in the missing allow="autoplay; encrypted-media" in the jquery.magnific-popup.min.js I did add it and it works.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 11 months ago #177146

Great.

0
LR
Laurent Robin
Accepted Answer
11 months ago #177162

Ok thanks i did create an override for it until your team update the addon! thanks Ziaul!

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 11 months ago #177164

You are welcome.

0