![](https://secure.gravatar.com/avatar/bda00d3bc771dc8d1fc44e800f187989?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
JW Player playing in background
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.