Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Your Help is greatly appreciated - Music Insertion  (Read 3789 times)

0 Members and 1 Guest are viewing this topic.

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Your Help is greatly appreciated - Music Insertion
« on: December 20, 2003, 02:42:25 pm »

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Your Help is greatly appreciated - Music Insertion
« Reply #1 on: December 20, 2003, 10:54:18 pm »

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";
Logged
&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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Your Help is greatly appreciated - Music Insertion
« Reply #2 on: December 22, 2003, 05:16:30 pm »

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?
Logged

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Your Help is greatly appreciated - Music Insertion
« Reply #3 on: December 22, 2003, 05:33:45 pm »

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

Happy Holidays,

cbarone@dca.net
Logged

olegario

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Your Help is greatly appreciated - Music Insertion
« Reply #4 on: February 17, 2004, 09:58:46 pm »

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.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Your Help is greatly appreciated - Music Insertion
« Reply #5 on: February 18, 2004, 02:26:25 am »

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";
Logged
&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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

olegario

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Your Help is greatly appreciated - Music Insertion
« Reply #6 on: February 18, 2004, 03:28:26 pm »

Worked perfectly.  Thanks again.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.