Video Modal not Working

4 replies · opened Mar 13, 2024

AadamflemingMar 13, 2024

Hiya,

Ive used the vertical modal popup button on my site and have inserted a youtube video into it. Ideally I would like the youtube video to play automatically when the user clicks the button and opens the modal, however I think that might be a youtube limitation.

Anyway, is there a way to stop the video when I click the close button? I can still hear the video playing after closing the video…

Or is there a better element to use to display a video inside a closable modal?

Thanks,
Adam

AadamflemingMar 13, 2024

Hiya,

Ive used the vertical modal popup button on my site and have inserted a youtube video into it. Ideally I would like the youtube video to play automatically when the user clicks the button and opens the modal, however I think that might be a youtube limitation.

Anyway, is there a way to stop the video when I click the close button? I can still hear the video playing after closing the video...

Or is there a better element to use to display a video inside a closable modal?

Thanks,
Adam

AadamflemingMar 20, 2024

Any response?

SSemicolon WebSTAFFMay 1, 2024

Hello,

Thanks for your Patience and Apologies for the Delays in replying.

Inline Modals currently cannot not control Video Play/Pause behavior. This is only possible with iFrame Modals at the moment as with Inline Modals, additional JS Code customizations will be required. Consider checking the Video Lightbox behaviors here: https://canvastemplate.com/lightbox.html .

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

AadamflemingMay 1, 2024

thanks, I figured this out on my own 1 month ago I'm afraid..

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard