Hey Guys, I have a project where I need a video (inside a modal element) to autoplay (ONLY after the modal is activated). This can be either HTML embed (locally/CDN served) or via youtube.
Can someone advise how I can get them to auto-play?
I’ve tried the method where we add the autoplay command in the Youtube embed straight after the source but this is glitchy and only works sometimes as best.
I’ve also tried to use HTML embed but the autoplay gets to work straight away and not after the element has been clicked to activate it. This is the code i’m using:
Thanks in advance.