This is an extension of this question
According to my research, for a video element on an iPhone/iPad, pressing both \"Done\" and \"Pause\" triggers a \"pause\" even
This is the event your looking for:
player.addEventListener('webkitendfullscreen', onVideoEndsFullScreen, false);
This event does indeed fire when the user presses the 'done' button. (iPhone/iTouch)
Was answered in this question, How to figure out when a HTML5 video player enters the full screen mode on iOS / iPads?
This just leaves the home button event...for which there seems to be no reliable event for (see bottom 2 posts) https://discussions.apple.com/thread/4182660?start=0&tstart=0