Stencyl 3.4.0 is now out. Get it now!

Radio SWF

gurigraphics

  • Posts: 660
Radio SWF
Streaming music for Flash Games



Platforms
Works only in Flash.
Tested in Google Chrome 47.0.2526.106 and Firefox 43.0.2



About this extension

Radio SWF use Web Audio API and ExternalInterface for support streaming of audio in flash games.






Get it

- Download Radio SWF Extension
- Download Javascript Source

----------------------------------------------

How use

1. Set stream

Set stream address with this block:



2. Play radio

Play radio with this block:



3. Stop radio

Stop radio with this block:



----------------------------------------------

Chiptune Radios Examples

Address OGG:

http://chipstream.rainwave.cc:8000/chiptune.ogg
http://ormgas.dracoirs.com:8000/chiptune.ogg
http://relay-chi.gameowls.com:8000/chiptune.ogg
http://textville.net:80/chiptune.ogg
http://relay-ams.gameowls.com:8000/chiptune.ogg
http://relay-nyc.gameowls.com:8000/chiptune.ogg

Address MP3:

http://chipstream.rainwave.cc:8000/chiptune.mp3
http://ormgas.dracoirs.com:8000/chiptune.mp3
http://relay-chi.gameowls.com:8000/chiptune.mp3
http://textville.net:80/chiptune.mp3
http://relay-ams.gameowls.com:8000/chiptune.mp3
http://relay-nyc.gameowls.com:8000/chiptune.mp3

Site
http://rainwave.cc


----------------------------------------------

Version History

Version 1.0 - 30/12/2015

----------------------------------------------

Notes

- It works only on flash.
- It requires jQuery.
- Use html template: html.zip
- Do not change in HTML this: id="flashObject" name="flashObject".
- For test use a local server: http://www.uniformserver.com

License: The MIT License (MIT)
Copyright (c) 2015 Gurigraphics

« Last Edit: December 29, 2015, 11:37:05 pm by gurigraphics »

DJEmergency

  • Posts: 170
If this worked for HTML5 and be able to read artist/song/album artwork I would use it for sure. :)

SquarePug

  • Posts: 148
Name: Chris.
Stencyler since: February 2015.
Twitter: @squarepugapps.

hendriza01

  • *
  • Posts: 82
Very nice, thanks! :)

gurigraphics

  • Posts: 660
Quote
If this worked for HTML5 and be able to read artist/song/album artwork I would use it for sure. :)
HTML5 extension I do not know how to do.
https://github.com/aadsm/JavaScript-ID3-Reader

This extension works only in flash. Also open mp3 or ogg external for more light to load game.