forked from github/cordova-android
[CB-1957] Stop any playing media when closing InAppBrowser
This commit is contained in:
parent
77178daad3
commit
1f37200bb6
@ -231,6 +231,7 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
*/
|
*/
|
||||||
private void closeDialog() {
|
private void closeDialog() {
|
||||||
try {
|
try {
|
||||||
|
this.inAppWebView.loadUrl("about:blank");
|
||||||
JSONObject obj = new JSONObject();
|
JSONObject obj = new JSONObject();
|
||||||
obj.put("type", EXIT_EVENT);
|
obj.put("type", EXIT_EVENT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user