Hello,
I am trying to insert music on the coppermine slideshow.
http://www.santonefamily.com/gallery/displayimage.php?album=1&pid=16&slideshow=5000
I edited the displayimage.php file with the following code.
<embed src="days.MP3" autostart="true" loop="false" height="45" width="170">
<noembed>Sorry, your browser doesn't support the embedding of multimedia.</noembed>
</embed>
Where should I put this code to have music play when the slideshow is running.
Any tips would be greatly appreciated, cant seem to get it to work.
Note this code works fine and can be seen here.
http://www.santonefamily.com/music.htm
Thank you very much.
Best Regards,
cbarone@dca.net
I would start by trying it between the $params statement and the following starttable statement in function slideshow.
echo "<embed src=\"days.MP3\" autostart=\"true\" loop=\"false\" height=\"45\" width=\"170\">\n<noembed>Sorry, your browser doesn\'t support the embedding of multimedia.</noembed>\n</embed>\n";
Could you recommend a way to insert a java script popup when someone clicked on the slideshow? I have the code neccessary to do this but dont know where to put it?
Your first suggestion worked. Thank you so much!!!
Happy Holidays,
cbarone@dca.net
This little mod worked great, but I was wondering how did you hide the little media player that comes up in the IE screen? Take a look at the following link:
https://www.olegario.us/photos/displayimage.php?album=96&pid=2948&slideshow=5000
Thanks.
Setting the width and height to zero will give you the desired effect.
echo "<embed src=\"days.MP3\" autostart=\"true\" loop=\"false\" height=\"0\" width=\"0\">\n<noembed>Sorry, your browser doesn\'t support the embedding of multimedia.</noembed>\n</embed>\n";
Worked perfectly. Thanks again.