rsromeo
14 years agoChannel Surfer
UNLOAD EVENT??
Hi -
I'm trying to do a URL transfer on video screen close because I want to update my db when stream stops. Problem is, it works when using up arrow to close video screen but when pressing HOME key on remote, the URL does not seem to get executed even though screen closes properly. I don't get a string back when app closes. Is there some kind of event I can use like unload to run code when app is closing?
thanks
I'm trying to do a URL transfer on video screen close because I want to update my db when stream stops. Problem is, it works when using up arrow to close video screen but when pressing HOME key on remote, the URL does not seem to get executed even though screen closes properly. I don't get a string back when app closes. Is there some kind of event I can use like unload to run code when app is closing?
thanks