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: The Best Water Activities in Dublin | Discover Dublin's Coastline

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

Here is my site Read-Only: Webflow - DLR Tourism

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.