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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • cordova-ios
    • None

    Description

      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.

      Attachments

        1. video.html
          1 kB
          Shazron Abdullah

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: