You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dennis Patzer (JIRA)" <ji...@apache.org> on 2018/05/05 07:46:00 UTC

[jira] [Comment Edited] (CB-14058) M4A files from iTunes API don't play on Android device

    [ https://issues.apache.org/jira/browse/CB-14058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464692#comment-16464692 ] 

Dennis Patzer edited comment on CB-14058 at 5/5/18 7:45 AM:
------------------------------------------------------------

Ah, I forgot to write this :) I get error code 1 in the error callback saying MediaError.MEDIA_ERR_ABORTED. Other console messages like errors, warnings, ... don‘t appear.

 

I don‘t think it‘s an allowed origin problem since it works on iOS and on my Huawei Y3 II. In config.xml I allowed all usind the wildcard *.

 

Is there a chance that you can check that on a Huawei P8 Lite as described earlier?

 

Or if you tell me how I could check myself on the device. But in this case I would need exact commands and help since the last version I natively coded on Android was Android v2.3 :) But I‘m quite fit in Java though.


was (Author: the_unknown):
Ah, I forgot to write this :) I get error code 1 in the error callback saying MediaError.MEDIA_ERR_ABORTED. Other console messages like errors, warnings, ... don‘t appear.

 

I don‘t think it‘s an allowed origin problem since it works on iOS and on my Huawei Y3 II. In config.xml I allowed all usind the wildcard *.

 

Is there a chance that you can check that on a Huawei P8 Lite as described earlier? 

> M4A files from iTunes API don't play on Android device
> ------------------------------------------------------
>
>                 Key: CB-14058
>                 URL: https://issues.apache.org/jira/browse/CB-14058
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>         Environment: Cordova 7.1.0
> cordova-android 6.3.0
> Huawei P8 Lite @ Android 6
>            Reporter: Dennis Patzer
>            Priority: Major
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org