This topic contains 2 replies, has 3 voices, and was last updated by  PScottMastro 2 weeks, 6 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2101

    Ron
    Participant

    Hi,
    Great plugin with very nice elements.
    One thing: When i create a modal with a YouTube movie (via iframe) the movie continues to play after i close the modal (well, at least the sound keeps playing)
    Is there a way around that?
    Thanks

    • This topic was modified 7 months, 1 week ago by  Ron.
    #2103

    Rimoun Adel
    Keymaster

    Hello Ron
    Thank you for your complement 🙂
    Yeh this is a know issue. You need to stop the video before closing the modal box. We are still trying to figure out a solution for that. Stat tuned..
    Cheers,
    Rimoun

    #7079

    PScottMastro
    Participant

    Is there a resolution to this yet? Seems there are a few solutions out in the wild.
    I believe https://wordpress.org/plugins/modal-for-elementor/ has this. They have a switch that toggles if you have a video in your modal. If so, it pushes code similar to:
    `$(document).on(‘closed’, ‘.remodal’, function (e) { $(this)[0].contentWindow.postMessage(‘{“event”:”command”,”func”:”‘ + ‘pauseVideo’ + ‘”,”args”:””}’, ‘*’); });

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.