PDA

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="&amp;file=http://www.haskinsphotography.com/music/playlist.xml&amp;height=20&amp;width=200&amp;
location=http://www.haskinsphotography.com/music/mp3player.swf&amp;autostart=true&amp;
repeat=true&amp;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...

Dna
May-15-2007, 06:47 PM
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