Page 1 of 1
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 9:09 am
by themac
Let's say i have file called "playit.mp3", can i add to something like "bundle" or "resource" directory of my app and directly play it non linking to external sources ?
Will it have differences among android/win8/ios Apps ?
Thanks.
Victor
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 12:04 pm
by maxkatz
I think if you play locally (using a native player) - all modern phones should play an .mp3 file.
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 4:51 pm
by themac
i explained better : can i ,in the play widget specifiy in "scr" a local file ? and where should i put it when i download my source for xcode and/or eclipse ?
thanks.
Victor
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 6:55 pm
by maxkatz
I'm not 100% sure.. check if the HTML5 audio element supports it. That's what you get in Tiggzi builder.
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 7:43 pm
by themac
that should. Infact you can simply specify as src something like "music.mp3".
Where phisically i should put the file remains unclear. I think that if you don't give any path to "music.mp3" this should be the same path as file. .html stays.
Thanks.
Playing an mp3 file stored locally, is this possible ?
Posted: Sun Mar 10, 2013 11:56 pm
by maxkatz
There is no option to upload an .mp3 file to Tiggzi yet. You could export the app and add the .mp3 file outside.
Playing an mp3 file stored locally, is this possible ?
Posted: Mon Mar 11, 2013 8:28 am
by themac
ok, i tried it (specifiying in src only the file, e.g. "music.mp3") but the player can't find the file. Where should i put it ? (i'm now using the xcode project).
Thanks.
Playing an mp3 file stored locally, is this possible ?
Posted: Mon Mar 11, 2013 10:31 am
by maxkatz
I'd post this question on xcode forum... or stackoverflow.com.