Open daherlive opened 10 months ago
Hi Com!
I'm facing problems finding a solution to work with Plyr inside a Bootstrap modal. The issue is that when I close the modal, the video keeps playing. I've tried some JS functions, but nothing seems to work to stop the video when the modal is close.
`
</div>`
Bootstrap has some events that fire before the modal starts closing. Listen for that event, then pause the player and you should be all good 😊
Hi Com!
I'm facing problems finding a solution to work with Plyr inside a Bootstrap modal. The issue is that when I close the modal, the video keeps playing. I've tried some JS functions, but nothing seems to work to stop the video when the modal is close.
`
Bootstrap has some events that fire before the modal starts closing. Listen for that event, then pause the player and you should be all good 😊