BillWard
06-05-2008, 08:10 PM
I just thought I would pass on an mp3 solution I came up with.
Using Dewplayer http://www.alsacreations.fr/dewplayer
Load it like:
<spot id="music_1" url="dewplayer.swf?mp3=music/johnstone_pipe_band.mp3&autoplay=1" static="1" staticX="10.00" staticY="10.00" align="LT" alpha="1" salign="LT" depth="2" linked="panos/scotpipe_9" scaleX="1" scaleY="1" />
In a multiple pano tour, a pano in the tour with no sound has
<!-- Sound Killer --><spot id="audio_kill_6" url="dewplayer.swf?mp3=music/silence.mp3&autoplay=1" onLoad="alpha=1" static="1" staticX="10.00" staticY="-100.00" align="LT" alpha="1" salign="LT" depth="2" linked="panos/scotpipe_10" scaleX="1" scaleY="1" />
The file silence.mp3 above is small amount of silent sound (2kb), and is placed off the top of the pano so the player is not visible. Because it loads, the sound from the previous pano is stopped, otherwise the previous sound will continue even if the "linked" parameter is used.
This mp3 player has play/pause/stop buttons, and a progress indicator, and is configurable to autostart, loop, and play sequential mp3 list. It also functions ok when go to fullscreen.
The "Sound Killer" step above seems to work but would be nice to have a mp3 player that just stops when the pano is unloaded.
My page
http://billward.eu/pages_pipes/pipes_start.html
Bill
Using Dewplayer http://www.alsacreations.fr/dewplayer
Load it like:
<spot id="music_1" url="dewplayer.swf?mp3=music/johnstone_pipe_band.mp3&autoplay=1" static="1" staticX="10.00" staticY="10.00" align="LT" alpha="1" salign="LT" depth="2" linked="panos/scotpipe_9" scaleX="1" scaleY="1" />
In a multiple pano tour, a pano in the tour with no sound has
<!-- Sound Killer --><spot id="audio_kill_6" url="dewplayer.swf?mp3=music/silence.mp3&autoplay=1" onLoad="alpha=1" static="1" staticX="10.00" staticY="-100.00" align="LT" alpha="1" salign="LT" depth="2" linked="panos/scotpipe_10" scaleX="1" scaleY="1" />
The file silence.mp3 above is small amount of silent sound (2kb), and is placed off the top of the pano so the player is not visible. Because it loads, the sound from the previous pano is stopped, otherwise the previous sound will continue even if the "linked" parameter is used.
This mp3 player has play/pause/stop buttons, and a progress indicator, and is configurable to autostart, loop, and play sequential mp3 list. It also functions ok when go to fullscreen.
The "Sound Killer" step above seems to work but would be nice to have a mp3 player that just stops when the pano is unloaded.
My page
http://billward.eu/pages_pipes/pipes_start.html
Bill