You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/05 19:46:23 UTC
[jira] [Resolved] (CB-446) Enhance setting data source for local
files in AudioPlayer
[ https://issues.apache.org/jira/browse/CB-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-446.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Assignee: Simon MacDonald (was: Joe Bowser)
Media class will now support:
/android_asset/www/test.mp3
/data/data/com.package.name/test.mp3
../../data/data/com.package.name/test.mp3
/sdcard/test.mp3
test.mp3 -> becomes /sdcard/test.mp3
Anytime the Media class can't find the file passed in it will prepend /sdcard/ to it in order to try and play it.
> Enhance setting data source for local files in AudioPlayer
> ----------------------------------------------------------
>
> Key: CB-446
> URL: https://issues.apache.org/jira/browse/CB-446
> Project: Apache Callback
> Issue Type: Improvement
> Components: Android
> Affects Versions: 1.5.0
> Reporter: yiming kuan
> Assignee: Simon MacDonald
> Priority: Trivial
> Fix For: 1.6.0
>
>
> When playing local files on Android, if the audio file is not in the assets the folder automatically assigns the '/sdcard/' prefix to the filepath. This should be made dynamic (i.e. '/sdcard/' prefix only added if the filepath does not already start with '/mnt/sdcard/' or 'sdcard'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira