[
https://issues.apache.org/jira/browse/CB-14058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464492#comment-16464492
]
Wojciech Trocki commented on CB-14058:
--------------------------------------
[~The_Unknown] Do you get any error in the console? This may be blocked by
cordova origin in config.xml. I have tested if there is issue with
cordova-plugin-media plugin but I cannot replicate that. Android support this
extension and implementation for plugin is really basic and everything depends
on actual operating system capabilities. I have tried on all testing devices
and following code works:
https://github.com/wtrocki/cordova-bug-sandbox/tree/CB-14058
More on media formats:
https://developer.android.com/guide/topics/media/media-formats
Status: Waiting for more info.
> 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: [email protected]
For additional commands, e-mail: [email protected]