themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Playing an mp3 file stored locally, is this possible ?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing an mp3 file stored locally, is this possible ?

I think if you play locally (using a native player) - all modern phones should play an .mp3 file.

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Playing an mp3 file stored locally, is this possible ?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing an mp3 file stored locally, is this possible ?

I'm not 100% sure.. check if the HTML5 audio element supports it. That's what you get in Tiggzi builder.

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Playing an mp3 file stored locally, is this possible ?

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing an mp3 file stored locally, is this possible ?

There is no option to upload an .mp3 file to Tiggzi yet. You could export the app and add the .mp3 file outside.

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Playing an mp3 file stored locally, is this possible ?

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing an mp3 file stored locally, is this possible ?

I'd post this question on xcode forum... or stackoverflow.com.

Return to “Issues”