TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Extensions
→
Radio SWF
Pages:
1
Radio SWF
gurigraphics
Posts: 690
December 29, 2015, 11:24:49 pm
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.
Online Demo
https://dl.dropboxusercontent.com/u/35815394/stream/index.html
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
January 13, 2016, 05:11:39 am
If this worked for HTML5 and be able to read artist/song/album artwork I would use it for sure.
SquarePug
Posts: 148
January 13, 2016, 05:29:01 am
Clever stuff!
Website:
Satch
Twitter:
@satchapps
.
hendriza01
Posts: 82
January 13, 2016, 06:18:37 am
Very nice, thanks!
gurigraphics
Posts: 690
January 13, 2016, 05:04:46 pm
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.
Pages:
1