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

Andrew Grieve commented on CB-5534:
-----------------------------------

Thanks Oliver.

Note to whoever looks at this
 - there is a test in mobilespec for loading a video.
 - We should also play with WebView.destroy() instead of loading about:blank

> InAppBrowser - video/audio does not stop playing when browser is closed
> -----------------------------------------------------------------------
>
>                 Key: CB-5534
>                 URL: https://issues.apache.org/jira/browse/CB-5534
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin InAppBrowser
>    Affects Versions: 3.1.0
>         Environment: Android
>            Reporter: Oliver Moran
>         Attachments: inappbrowser.zip
>
>
> This is a recurrence of an issue that was previously fixed: CB-1957
> Steps to reproduce
> 1. Load a YouTube video (with audio track) in the InAppBrowser
> 2. Play the video
> 3. Close InAppBrowser
> Expected result:
> - Audio stops playing
> Actual result:
> - Audio continues playing
> Fix:
> We encountered this bug as part of development and modified the InAppBrowser 
> plugin to resolve it. The fix is part of our production code, is stable and 
> has been through our QA. It does require extending the Android Dialog class, 
> however.
> I've added an attachment with the modified Java files.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to