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

M4A files from iTunes API don't play on Android device

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugin-media
    • None
    • Cordova 7.1.0
      cordova-android 6.3.0
      Huawei P8 Lite @ Android 6

    Description

      Hello,

       

      on my Huawei P8 Lite with Android 6 and EMI 4.0.3 the following code doesn't play the remote file:

      var a = new Media('https://audio-ssl.itunes.apple.com/apple-assets-us-std-000001/AudioPreview41/v4/cc/ee/4b/ccee4b08-094f-5972-6a4f-80fe2d056660/mzaf_6222722413468693928.plus.aac.p.m4a', null, function(err) {console.log(err);});

      a.play();

      • When I open the URL in Chrome on this device, everything works.
      • When I use a remote MP3 file, it also works.
      • On iOS the same code works.
      • On my Huawei Android 5 device it also works.

       

      Is this a bug in the plugin? What can I do?

      Bye The_Unknown

      Attachments

        Activity

          People

            Unassigned Unassigned
            The_Unknown Dennis Patzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: