Reputation: 16297
When using PhoneGap's InAppBrowser
I am loading a page with a video. If I play that video and close the InAppBrowser
the video playback continues. I have searched high and low for an answer to this issue. How can I stop the playback or remove the connection when closing the InAppBrowser
?
Upvotes: 4
Views: 690
Reputation: 16297
I found a solution. What you want to do, is set target from _blank
to _self
that will cause it to stop playback when you hit the back button.
var ref = window.open(url, '_self', options);
Upvotes: 2