Play audio from remote URL

Discussion and feedback on Construct 2

Post » Wed Nov 13, 2013 6:02 am

Hi,
i want to know how is the easy way to play audio (MP3) from remote server (URL).
I realize that we can play audio from imported files, however i really need to play some remote files because im trying to build a kind of Audio Player.
Right now my only option is develop a plugin, but i prefer ask before.

PD: i know about this post http://www.scirra.com/forum/audio-url_topic64590.html, but must be a way to do it

PD2: why i cant import files? because app (PhoneGap) size is important for this project.
Thanks!
jc22013-11-13 06:09:24
B
4
S
1
Posts: 4
Reputation: 283

Post » Wed Nov 13, 2013 12:18 pm

It's not supported since the dual-encoding problem means you can't just load one audio file and expect it to play.

BTW you shouldn't ever use MP3 for anything, ever - if 5000 people play a game using MP3, you're liable for a $2500 license fee.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Wed Nov 13, 2013 4:29 pm

Ok Ashley, thanks for the tip. And i understand you.
But, we know that one of the best feature of HTML (web in general) is be able to use remote resources (audio, video, images) for avoid redundancy (and overload) and would be nice be able do that.

Thanks anyway.

PD: I really like Cosntruct 2, i think it has potential to make more than just games.
B
4
S
1
Posts: 4
Reputation: 283

Post » Thu Nov 13, 2014 8:37 pm

plugin
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 5
Reputation: 212


Return to Construct 2 General

Who is online

Users browsing this forum: Cubeeo and 4 guests