Mp3 player and online radio
New open source mp3player plugin.

mp3player.swf, mp3player.fla (source).
Usage
<mp3player>
file=files/mySong.mp3
volume=1
repeat=1000
</mp3player>
(file defines the path to mp3 file, volume sets the initial volume level, repeat sets the number of repetitions)
You can use online radio stream instead of static mp3 file (I used TRACE.FM radio in example above):
<mp3player>
file=http://8331.str.ovh.net:8331/tracemq.mp3
</mp3player>
You can find more radios here, for example: http://dir.xiph.org/. Note, not all radios is OK for Flash, it supports only mp3 streams (doesn’t support ogg vorbis streams), and some shoutcast servers ignores Flash movies because of unexpected http header (it can be fixed by shoutcast server’s configuration changing).
Internet radio has one advantage: you will listen new music every time you take a look on the panorama.
As I told already, you can use any Flash mp3 player to run together with Flash Panorama Player. This specific solution is better only if you need to control the music concurrently with panorama images. You can send new info to the player the same as for other plugins: use
If you are good enough in Actionscript programming you can use this source as a base to create more powerful mp3 player (with track selection, with id3 tags support and so on).
Mp3 Hotspots
mp3hotspot.swf, mp3hotspot.fla (source).
There is a variation of mp3player plugin. It has no interface, but you can load it to any hotspot. You can create a panorama with several sounds on the scene and you can use sound panning with it, for example:
<spot id="frog" url="files22/mp3hotspot.swf" file="images/frog.mp3" repeat="1000" pan="0" tilt="-70" enableSoundPannig="1" soundRadius="100" />
Note: you can send parameters using spot attributes. Another way is to place them to query string: url=”files22/mp3Hotspot.swf?file=images/frog.mp3&repeat=1000&volume=0.5″. The first way is preferred so it works both online and offline.
This is another example. I placed several sounds around the scene and the sound is changing against the panorama position. A little fun.
Mp3 hotspot handles loading/unloading of hotspots correctly; you can use it together with linked/unlinked properties without a problem.
One more notice about the difference between mp3hotspot and mp3player. Mp3hotspot is a special type of FPP’s plugins, I’m calling it “smart hotspot”, it works only inside Hotspots plugins as a hotspot (flvPlayer.swf and lensFlare.swf are smart hotspots as will). It has one advantage with sound panning support. Mp3Player in constrain to mp3hotspot is a full-blown FPP’s plugin, it can work without loaded Hotspots, it can handle its own XML blocks. Use mp3player or mp3hotspot plugin subject to your idea.
This entry was posted on Saturday, November 17th, 2007 at 1:27 pm and is filed under Flash Panorama Player. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
on November 17, 2007 at 1:53 pm Andrei Zdetovetchi wrote:
The MP3 hotspot is pretty neat!
Who’s the guy in the mirror, taking the pano?
on November 17, 2007 at 2:55 pm Igor wrote:
I have no words. Excellent. Beautifull nature example. After two years of working in this bussiness, learning to work with several SW and spending money for it I am for first time satsfied - FPP is really very nice piece of SW. Thanks Denis for Your work!
on November 18, 2007 at 12:52 pm Mp3 player and online radio wrote:
[...] post by Denis V. Chumakov and software by Elliott [...]
on November 20, 2007 at 1:50 am Nikos wrote:
The best flash panorama software just got another great addition!!! Very well done Denis!
on November 21, 2007 at 11:12 pm Hans Nyberg wrote:
Fantastic. This was just what I needed . Now I only need to find out how I connect the mp3hotspot.swf to my toolbar sound control.
I need to be able to globally control sound with on/off
Hans
on March 8, 2008 at 7:06 pm AYRTON wrote:
Woow that’s great news
Thanks Denis and
Now I have to learn how to use it
thanks Hans for pointing it
AYRTON
on March 15, 2008 at 10:10 pm ICS wrote:
Hi!
Is there a way to place the mp3player elsewhere in the pano? Or to move it dynamically ?
Thx.
on March 16, 2008 at 6:42 pm belalhamdy wrote:
please
i want to put number of your swf eg. 1.swf & 2.swf & 3.swf & 4.swf into 1 folder
to play the adherent 1.mp3 & 2.mp3 & 3.mp3 & 4.mp3 without html and without control bar(blank swf)
and if i can play the mp3 from 4:07 to 5:08 (this time for examble)
i hope you help me
thanx in advance
on April 6, 2008 at 7:33 pm Mary wrote:
Very informative post. And in general, I Wash constant reader! Very interesting to read you! Mentally thank you!
on April 9, 2008 at 7:59 pm Panzer wrote:
Hi!
I’m trying to use a mp3 hotspot with the linked property. When starts the right pano, it don’t must play de sound since i turn 180 degrees, but it plays a very pest noise. Any idea?
Excuse my english.
Thanks.
on May 24, 2008 at 7:02 pm The_Beatnik wrote:
Hi all,
Is it possible to put an icon to mute the sound of the hotspots. I use the mp3hotspot.swf and i want to keep it, but it would be great to ad a button to put the sound on or to put the sound off. Do you know, how to do?
Tks a lot!
on October 13, 2008 at 8:37 pm ti360 wrote:
why is there a frog and water on the top of the pano? is seems that the sound hotspots are placed twice. at tilt,pan and 180° on the other side.
on December 8, 2008 at 8:16 am life insurance bankers company reliastar wrote:
of reliastar life company insurance life insurance reliastar company rating
on December 19, 2008 at 9:55 am Heghine wrote:
The information is very useful, thanks a lot!
on March 11, 2009 at 9:49 am David wrote:
Just a question a little bit out of this topic.
Denis i see that your panoramas, when we open them different times, are taken from the cache and not re-download each times.
Perhaps a stupid question from a stupid newbie, but by the way I ask it : How do you do?
Thanks by advance and for everything you do for us,
David
on May 28, 2009 at 11:13 am FLV Player Download wrote:
Great Article! Thank you very much for posted this…
on June 22, 2009 at 5:46 pm wapdar wrote:
It is wonderful, this makes mp3 players more powerful then ever.
thanks for the great job
wapadar
on February 26, 2010 at 10:15 am Alan Trueba wrote:
Hello nice player,
How to add a autoplay fuction when the player loads?
best regards
on June 21, 2010 at 8:58 pm travesti wrote:
kalite burada kalitenin adresi marjinallik arkadaşlık sohbet cat ankara istanbul izmir adana antalya bursa türk travestiler
on July 12, 2010 at 4:19 am travesti wrote:
beautiful, I really get very beyendım text files manually to your health as you very beautiful and I wish you continued success with all respect ,,,