cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Art World (JIRA)" <>
Subject [jira] [Commented] (CB-1957) InAppBrowser - video/audio does not stop playing when browser is closed
Date Thu, 24 Jan 2013 00:51:12 GMT


Art World commented on CB-1957:

I am using the following childbrowser plugin in my app.

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:

  * Closes the dialog
    private void closeDialog() {
      if (dialog != null) {
      this.webview.loadUrl("any-balnk-page" ; );
/* 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:
>             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:

View raw message