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: setting extra options for quicktime mov files  (Read 3447 times)

0 Members and 1 Guest are viewing this topic.

Paranoid

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
setting extra options for quicktime mov files
« on: March 15, 2005, 08:05:48 pm »

Hi,

Is it possible to set extra options for mov files as they are shown in Coppermine? I'm interested mostly in the option CONTROLLER="true" wich can be set if the mov is loaded in a 'normal' html file. This adds a controller bar to the movie.
But as I know little or nothing of PHP, I do not know where to look to add this option. My guess is that it has to be done in displayimage.php, but I do not know what to change or where to change it.

Maybe someone can help me with this?

Thanks for your time.

Edwin.
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: setting extra options for quicktime mov files
« Reply #1 on: March 16, 2005, 03:09:53 am »

in displayimage.php

line 198

$pic_html = "<object {$image_size['whole']}><param name=\"autostart\" value=\"true\"><param name=\"src\" value=\"". $picture_url . "\"><embed {$image_size['whole']} src=\"". $picture_url . "\" autostart=\"true\"></embed></object><br />\n";

it control mov file, change it to suit your own need.

Paranoid

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: setting extra options for quicktime mov files
« Reply #2 on: March 16, 2005, 10:02:46 am »

Hi Foulo,

Let me see if I got it.

So if I change line 198 to

$pic_html = "<object {$image_size['whole']}><param name=\"controller\" value=\"true\"><param name=\"autostart\" value=\"true\"><param name=\"src\" value=\"". $picture_url . "\"><embed {$image_size['whole']} src=\"". $picture_url . "\" autostart=\"true\"></embed></object><br />\n";

the parameter controller is set to true? Is this only for .mov files?

Thanx,

Edwin.
Logged
Pages: [1]   Go Up
 

Page created in 0.075 seconds with 20 queries.