Your Help is greatly appreciated - Music Insertion Your Help is greatly appreciated - Music Insertion
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Your Help is greatly appreciated - Music Insertion

Started by cbarone, December 20, 2003, 02:42:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cbarone

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

hyperion

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";
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

cbarone

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?

cbarone

Your first suggestion worked. Thank you so much!!!

Happy Holidays,

cbarone@dca.net

olegario

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.

hyperion

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";
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

olegario