Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 070C5ED12 for ; Thu, 24 Jan 2013 00:51:13 +0000 (UTC) Received: (qmail 95298 invoked by uid 500); 24 Jan 2013 00:51:12 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 95273 invoked by uid 500); 24 Jan 2013 00:51:12 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 95263 invoked by uid 500); 24 Jan 2013 00:51:12 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 95260 invoked by uid 99); 24 Jan 2013 00:51:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 00:51:12 +0000 Date: Thu, 24 Jan 2013 00:51:12 +0000 (UTC) From: "Art World (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-1957) InAppBrowser - video/audio does not stop playing when browser is closed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561293#comment-13561293 ] Art World commented on CB-1957: ------------------------------- I am using the following childbrowser plugin in my app. https://github.com/alunny/ChildBrowser I open external urls which have youtube videos in them. My issue is that, when I close the child browser, I continue to hear the sound of the playing video, as it is still playing somewhere in the background. I have applied all the solutions which I found here and also on other forums. Even, I also tried with loading a blank page before closing the childbrowser: /*START* * Closes the dialog */ private void closeDialog() { if (dialog != null) { this.webview.loadUrl("any-balnk-page" ; ); dialog.dismiss(); } } /* END */ And also with killing that particular thread. But, the issue is still there. If someone facing similar problem, resolved it, please help. > InAppBrowser - video/audio does not stop playing when browser is closed > ----------------------------------------------------------------------- > > Key: CB-1957 > URL: https://issues.apache.org/jira/browse/CB-1957 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Andrew Grieve > Fix For: 2.3.0 > > Attachments: video.html > > > Repro: > 1. Load a YouTube video (with audio track) in the InAppBrowser, play it > 2. Close InAppBrowser > Expected result: > Audio stops playing > Actual result: > Audio continues playing > The simple fix is to loadHTMLString:nil on the InAppBrowser UIWebView when the view disappears, but the real reason is probably because the UIWebView instance has not been released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira