Next was the minimum I had to do to get it to work. I really experienced a stall due to buffering, while spawning ajax requests when the user clicked the back button. Pausing a video in the Chrome browser and the Android browser saved its buffering. A non-async ajax request is stuck waiting for buffering to complete, which will never happen.
Binding this to the beforeSthide event fixed it.
$("#SOME_JQM_PAGE").live("pagebeforehide", function(event) { $("video").each(function () { logger.debug("PAUSE VIDEO"); this.pause(); this.src = ""; }); });
This will clear every video tag on the page.
Halsafar
source share