Hi.
What is your URL?
How do you can put autoplay in your youtube embed?
Regards
Unfortunately I can’t give you the URL since the site is currently under development and being hosted at my personal server.
You can add the autoplay feature by adding “?autoplay=1” to the embedding code. The code I am using as the content of the popup is:
<iframe width="1120" height="630" src="https://www.youtube.com/embed/W-iAfk2Su9o?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
And sometimes (it does not happen every time) the video starts playing before the popup is triggered by a “Watch Video” button.
-
This reply was modified 3 years, 10 months ago by luizvaranda.
Hi.
I was testing your embed code but it always opens the popup with the video in stop.
Here a video:
https://www.loom.com/share/e3aca39351f542a9bb6c4a4249044b7c
Regards
Thank you for the reply however, you need to replace the " code (after the autoplay=1 in the iframe code) with double quotes, otherwise the autoplay will not work, like in the video. Also, this issue doesn’t happen every time the page loads but I already received complaints from 2 of my clients using the plugin. Thank you!
Hi again, do you have any updates on this? Thanks!
Plugin Author
Damian
(@timersys)
I cannot reproduce the issue either. The audio is not there, and only start when the popup it’s visible and when it’s close the audio stops.
We would need to see the issue on your site because it seems it’s related to your enviroment
Thank you Damian for the reply. I would not like to publicly post the link to the site since it is still being hosted in my development server. Do you have an email address I can send it to? Thanks!
Plugin Author
Damian
(@timersys)
Hello Damian… I have submitted the URL of my server via the Contact form on your site. Do you have any updates about this? Thanks!