Hi,
I am using JW Player with Bootstrap Modal Popup. When pause the video before closing the Modal is working really fine and no issue with that. But when I close the Modal Popup while video is playing, I am pausing the video (jwplayer("myPlayer").pause()). But in Safari(iMac), when close the Modal is closing but audio is playing in background.
How can I stop this propagation ? Here is the code
$('#openModal').on('hidden.bs.modal', function () {
jwplayer('myPlayer').pause();
});
This code is not working in Safari only.
↧