[
https://issues.jboss.org/browse/JBIDE-14306?page=com.atlassian.jira.plugi...
]
Ilya Buziuk commented on JBIDE-14306:
-------------------------------------
I found that issue, while testing the following project
[
https://github.com/jasond/cordova-mega-demo.git] on CordovaSim. However, after some
debugging I detected the cause in
[
https://github.com/jasond/cordova-mega-demo/blob/master/cordova-mega-demo...].
So, the link */android_asset/www/media/midnight-ride.mp3* is android based, and can't
be processed correctly. What's more there's no possible way to get the root folder
of the hybrid app, only weird hacks
[
http://stackoverflow.com/questions/11175489/ios-phonegap-media-object-how...].
If change the link from the example to the valid one
(
http://www.w3schools.com/html/horse.mp3), everything works like a charm.
CordovaSim: need to implement phonegap's Media API
--------------------------------------------------
Key: JBIDE-14306
URL:
https://issues.jboss.org/browse/JBIDE-14306
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: browsersim
Reporter: Ilya Buziuk
Assignee: Ilya Buziuk
Fix For: 4.1.0.Beta1
Phonegap's Media API (
http://docs.phonegap.com/en/2.6.0/cordova media
media.md.html#Media) isn't properly emulated by Cordova Sim and ripple
(
https://github.com/blackberry/Ripple-UI/issues/597)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira