webkit - Detect closing of mobile Safari -


I am creating a webpad which uses video servers:

  & Lt; Img id = "vidsrc" src = "video.cgi" />  

This works and when the app is saved as a webpage using "Add to Home Screen", the app closes expectantly and receives the server push It stops doing.

While running on mobile safari, the page will have to stop it from shutting down. I am trying to figure out how to stop the user to click on the Home button and close the mobile safari. So that the push in the background does not start.

Because of working with me, video. Cgi editing is not an option and using video.cgi in iframe is not a good solution due to some other functionality in page / app

< P> onBlur and onClose does not seem to do it, and I'm thinking that in some way there is an HTML page or good stuff in it that can know that Mobile Safari has been discontinued.

Unfortunately, you can not ... the web application does not have permission to access the device's software So, you are not told when the button is pressed.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -