#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”:””}’, ‘*’); });