Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5534

InAppBrowser - video/audio does not stop playing when browser is closed

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. inappbrowser.zip
          10 kB
          Oliver Moran

        Issue Links

          Activity

            People

              bowserj Joey Robert Bowser
              oliver_moran Oliver Moran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: