Search
Other Modals questions
Forum

Wait for modals to run

Thorsten Schulz's Avatar Thorsten Schulz
Hello,

I have embedded a warning video on the following website, which is executed with modals when the site loads.
www.de-dsb.de/

Unfortunately, since the cookie query appears at the same time, I want Modals to wait a bit before loading.

Is this possible?
If yes, how can I do that.

Thanks for your support.
Thorsten Schulz's Avatar Thorsten Schulz
Hi Peter,

Thanks for the hint.
I just looked in the documentation and didn't find this link.

It works so far, but the video starts in the background and then opens as a popup in the middle. Is there a way to have the content also wait for the popup?

Thank you very much for your help.

Thorsten
Werbeagentur Schulz-Design
www.schulzdesign.info/
Peter van Westen's Avatar Peter van Westen ADMIN
Don't use inline content to open the video.
You could place the video in an article and open that article via Modals.
Please post a rating at the Joomla! Extensions Directory
Thorsten Schulz's Avatar Thorsten Schulz
It doesn't work with an article.
The video has to be integrated directly.
Is there another way to stop the video and only load it when the popup opens?
Peter van Westen's Avatar Peter van Westen ADMIN
Why doesn't it work with an article (or stand alone html file)?

You could embed the video without the autoplay on.
Then via the Modals events, add some javascript command to play the video.
See: docs4.regularlabs.com/modals/going-further/javascript-events
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription