Modal Youtube video doesn't autoplay (anymore?) - Forum | JoomShaper
Solved SP Page Builder

Modal Youtube video doesn't autoplay (anymore?)

Asked by Laurent Robin 1 year ago Last activity 1 year 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

Accepted answer

Marked as the solution
Ziaul Kabir Staff

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,

2 more replies

Laurent Robin Asked this

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.

Ziaul Kabir Staff

Great.

Laurent Robin Asked this

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

Ziaul Kabir Staff

You are welcome.

Log in to reply.