Streaming live at 10am (PST)

How to autoplay youtube video in custom modal

Hi all,

I have set up a custom video modal on a website and have managed to get the video to stop playing when the modal is closed, thanks to suggestions on other threads.

However I’m looking for the video to autoplay when the modal is opened. is this possible? I couldn’t find anything on the forum.

It’s on this page: https://dlr-tourism.webflow.io/urban-splash

When you click the watch video button in header it launches the modal.

Here is my site Read-Only: https://preview.webflow.com/preview/dlr-tourism?utm_medium=preview_link&utm_source=dashboard&utm_content=dlr-tourism&preview=ad86c39e51df42a4a929a94004722c99&mode=preview

Thanks,

Niall

1 Like

You could use One Line Player: https://onelineplayer.com/

You will need to host the video on Vimeo, Dropbox, or Google Drive, but it’s super crisp and has a lot of visual customization that’s optimal for on-brand video embedding, particularly videos that auto-play.