You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#113021 autoplay youtube in popup

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Thursday, 09 February 2023 11:13 GMT

stof
Hi,

I created an image and when a visitor clicks on the image they see a popup with a youtube video.

However the youtube video does not play automatically. The visitor should click again on the play button in the youtube video in the popup.
I checked the setting for autoplay in the mediabox video and this box is checked.
How come this does not work? Any idea?

Thanks!

Ryan
Youtube only enables autoplay if the Mute option is also enabled, so you need to add a mute parameter and Autoplay for the video to autoplay when opened. You can add a mute as an additional Parameter in the Media Options tab of the Media Manager, eg: https://cdn.joomlacontenteditor.net/tmp/113021-autoplay-youtube-in-popup.jpg or append it to the end of the url, eg:

https://www.youtube.com/embed/xxDv_RTdLQo?autoplay=1&mute=1

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stof
I see what you mean now. Thanks!

Ryan
A Mute option is being added in the next update, and Mute will automatically be applied if Autoplay is enabled, in the Media Manager and Mediabox.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.