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: Video Preview?  (Read 2941 times)

0 Members and 1 Guest are viewing this topic.

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Video Preview?
« on: March 21, 2005, 05:28:36 pm »

Is there anyway to get a still pic as the preview for a video file rather than the icon?  Like how windows has thumbnail view.

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Video Preview?
« Reply #1 on: March 21, 2005, 07:56:58 pm »

Coppermine doesn't support creating thumbnails from video.  You have to create one yourself, then upload it via ftp to the directory the video is in.  If you video is named home.mpg, you name the picture thumb_home.jpg.  Read the documentation for further instructions on custom thumbnails.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Video Preview?
« Reply #2 on: March 23, 2005, 03:55:37 pm »

It worked for some of the video's, but the one's with space's in the filenames, I get this error:

Quote
Warning: getimagesize(albums/userpics/10001/thumb_My%20My%20MyShrink001.jpg): failed to open stream: No such file or directory in /home/pigeon/public_html/copper/include/functions.inc.php on line 1065

Any ideas?

Nibbler

  • Guest
Re: Video Preview?
« Reply #3 on: March 23, 2005, 04:13:29 pm »

Give the thumbnail the filename in the error message.
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Video Preview?
« Reply #4 on: March 24, 2005, 02:20:09 am »

That didn't work.  Just dosen't do anything.

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Video Preview?
« Reply #5 on: March 24, 2005, 06:28:08 pm »

Anyone?

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Video Preview?
« Reply #6 on: March 24, 2005, 07:42:09 pm »

Rename your file and remove the spaces, do the same with your custom thumbnail, and edit the filename in your cpg132_pictures table.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.