Autoplay video in a Lightbox

Does anyone know how to set a lightbox video to autoplay? It’s a vimeo video that I currently have inserted and I know I should add “autoplay=true” as an attribute; however I can’t seem to find the class or id to target to insert this attribute with javascript.

Am I making this more complicated than need be? I feel like I am but can’t see another way around it :joy:

Maybe this can help:

https://help.vimeo.com/hc/en-us/articles/115004485728-Autoplaying-and-looping-embedded-videos

To add attributes to a lightbox element go here:

I’ve given that a go and if I put autoplay as an attribute it says “this is a reserved name” and won’t let me use it?

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.