archetyped / simple-lightbox-extensions

Feedback & Support for Simple Lightbox Extensions
https://archetyped.com/tools/simple-lightbox/
2 stars 3 forks source link

[Video / Issue]: YouTube Autoplay not working #64

Closed skolmarketing closed 7 years ago

skolmarketing commented 7 years ago

Please contact me at sbohler@bohlersolutions.com for this issue. Thank you.

Description of issue

Autoplay doesn't work on YouTube videos, or I don't know the proper way to enable it with slb-handler-video. Please advise.

Details

My YouTube URLs are structured as follows: https://youtu.be/nnnnn**?autoplay=0&showinfo=0&controls=0&showinfo=0&modestbranding=1&rel=0**

archetyped commented 7 years ago

Hi, apologies for the delayed response. Autoplay is supported, but the parameter's value needs to be 1 not 0 (e.g. ?autoplay=1) for it to be enabled.

I would also recommend using the full youtube.com URL for the video as opposed to the youtu.be shortlink version, as YouTube's oEmbed API may not consistently support it.

Let me know if you are are still experiencing this issue after making the above changes and I would be glad to reopen this ticket at take another look.

Thanks.