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

Video (inline) Doesn't Work on Android 4.4

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.5.0
    • None
    • cordova-android
    • Cordova: 3.5.0-0.2.4
      NodeJS: v0.10.29
      npm: 1.4.16
      Android: 4.4.2
      Android SDK: 18
      Device: Samsung Galaxy S2 GT-L9100

    Description

      Local videos don't play/load (inline) on Android 4.4. The bug can be reproduced by cloning the following repo and building it for Android 4.4 using Cordova: https://github.com/erkkimon/cordova-html5-video-test

      I have tested building the repo and running the app on Android 4.1 and Android 4.4. On Android 4.1 there is no problem.

      README.md includes test reports for Android 4.1 and Android 4.4. Reports also include logs and version information of all software used.

      Attachments

        Activity

          I didn't even know you could do this: "android.resource://[package]/[res type]/[res name]" and have it work. That's actually pretty awesome, but I'm sure some Chromium thing breaks this. Can you ask the Chrome team about this, and close this somehow?

          bowserj Joey Robert Bowser added a comment - I didn't even know you could do this: "android.resource:// [package] / [res type] / [res name] " and have it work. That's actually pretty awesome, but I'm sure some Chromium thing breaks this. Can you ask the Chrome team about this, and close this somehow?

          Assigning to myself since this got lost in the noise. I like this neat little Android hack that's being done here.

          bowserj Joey Robert Bowser added a comment - Assigning to myself since this got lost in the noise. I like this neat little Android hack that's being done here.

          This test makes assumptions about resource URIs that aren't actually the case anymore. It appears this changed around Android 4.4, and the issue is related to Resource URIs and ID mapping not being related to a filesystem. I would recommend not using this approach, since it's brittle and can change when a new version of Android appears. It's better to use real files.

          bowserj Joey Robert Bowser added a comment - This test makes assumptions about resource URIs that aren't actually the case anymore. It appears this changed around Android 4.4, and the issue is related to Resource URIs and ID mapping not being related to a filesystem. I would recommend not using this approach, since it's brittle and can change when a new version of Android appears. It's better to use real files.

          People

            bowserj Joey Robert Bowser
            Erkkimon Tom Himanen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: