Internet Radio Embed Plugin Request!

Discussion and feedback on Construct 2

Post » Tue Jan 31, 2012 9:29 am

A question to the programmers of plugins.

I could really use a plugin that enables me to embed a internet radio station directly in my game.
Its the perfect way to stream a nice gengre of music to a specific game.
Like my puzzle game that needs a constant changing ambient landscape.
I like to think that im not the only one who would benefit from this plugin.
If it is possible let me please let me know!

Kind regards.
Savvy
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Tue Jan 31, 2012 10:35 am

Sounds like a nice idea, though I can't say I'm knowledgeable enough to make such a plugin.

Off the top of my mind, however, the html5 <audio> tag supports media streaming over browser. Just point it to your radio station URL and put the tag in the game's web page, just below the game itself would work so that the player can adjust volume, etc.

Note that <audio> tag supports different formats for different browsers; Firefox, for example, doesn't do mp3, IE8 doesn't like ogg... well, currently ogg seems to be the most prevalent format. May want to include different sources for different platforms.

Some reading:
http://thinkvitamin.com/code/html5-audio-unplugged/
http://stackoverflow.com/questions/2229118/is-it-possible-to-play-shoutcast-internet-radio-streams-with-html5Mipey2012-01-31 10:37:47
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Jan 31, 2012 6:06 pm

Thanx!

That Some nice info, il be working on it.
B
56
S
20
G
13
Posts: 778
Reputation: 13,204


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests