You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Chris Weinert (JIRA)" <ji...@apache.org> on 2013/01/18 21:46:12 UTC

[jira] [Commented] (CB-1957) InAppBrowser - video/audio does not stop playing when browser is closed

    [ https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557587#comment-13557587 ] 

Chris Weinert commented on CB-1957:
-----------------------------------

I see this bug is listed as 'Closed' but I still have the same issue (using your sample video.html file and with the config.xml updated accordingly). Should I open a new bug for this?
                
> 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: Shazron Abdullah
>             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