View Full Version : This may be a hard one...
nphaskins
May-15-2007, 02:35 PM
I have a swf mp3 player in my footer. How can I stop it from restarting on every page...meaning...how I can I make it play without stopping when somone navigates to another page on my site?\
Also, how do I make it appear everywhere BUT the homepage...
Thanks in advance!
http://www.haskinsphotography.com
-Enter Website-
Allen
May-15-2007, 02:42 PM
I have a swf mp3 player in my footer. How can I stop it from restarting on every page...meaning...how I can I make it play without stopping when somone navigates to another page on my site?\
Also, how do I make it appear everywhere BUT the homepage...
Thanks in advance!
http://www.haskinsphotography.com
-Enter Website-
Add the div around the code, see bold.
<div align="center">
<div id="mp3">
<embed src="http://www.haskinsphotography.com/music/mp3player.swf" allowfullscreen="true" flashvars="&file=http://www.haskinsphotography.com/music/playlist.xml&height=20&width=200&
location=http://www.haskinsphotography.com/music/mp3player.swf&autostart=true&
repeat=true&volume=10" height="20" width="200">
</div>
</div>
Then add this to your CSS.
.homepage #mp3 {display: none;}
.galleries #mp3 {display: block;}
Have no idea how to keep it playing.
nphaskins
May-15-2007, 02:46 PM
well that solved the easy problem, now hopefully someone will come along with the other answer!
I'll end up taking it out if it stays like this.
Thanks!
*Edit* I took it off until I can find the answer...
how I can I make it play without stopping when somone navigates to another page on my site?I doubt you could as you are telling it to reload every time the viewer moves to a different page.
Andrew
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.