[
https://issues.apache.org/jira/browse/CB-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874182#comment-13874182
]
Oliver Moran commented on CB-5534:
----------------------------------
Was this the test used:
https://github.com/apache/cordova-mobile-spec/blob/master/inappbrowser/video.html
The issue won't reproduce under that test. The issue is seen when viewing
webpages that contain YouTube videos, such as as follows:
https://www.khanacademy.org/math/algebra/introduction-to-algebra/overview_hist_alg/v/origins-of-algebra
Steps to reproduce:
1. Open the link above in the in-app browser
2. Play the video
3. Close the in-app browser
Expected result:
Audio from video is not heard
Actual result:
Audio from video continues to be heard
> 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.5#6160)