Ionic event for when modal is closed by clicking outside


I have a video that autoplays inside a modal. I need to be able to fire an even that pauses the video when the modal is closed, not just from the closeModal event, but also if the user clicks outside the modal and the modal autohides. Is there any way to do this?

1 Like

Were you able to sort this out?

I know it’s an old thread. For people how came across this, read this:

ionic’s already thought about everything. :smile: -)
Thank you team!!