Hi,
I linked an icon element to a youtube video. How can I make this video autoplay in a Lightbox?
I have provided a link to the video in the private content.
Thanks!
Hey atifaijaz123,
Thank you for using Enfold.
Adjust the youtube url format and the button should automatically link to a lightbox. (see private field)
Best regards,
Ismael
if you got your youtube link take the embed variant
https://www.youtube.com/embed/6jE1jxFB2Ic
you can add different parameters to the link https://developers.google.com/youtube/player_parameters?hl=de/#Parameters
the first parameter after the videoID had to be introduced by a question mark – all following parameters added by an ampersand
so autoplay should make of the link on top:
https://www.youtube.com/embed/6jE1jxFB2Ic?autoplay=1
for having the link in lightbox add the link manually to your target( image , text etc.) and add iframe=true
so first with question mark second parameter added by ampersand :
https://www.youtube.com/embed/6jE1jxFB2Ic?autoplay=1&iframe=true
Thanks Guenni and Ismael! This worked perfectly, you can close this thread now. :)
Hi,
Great! You’re welcome! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Ismael