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: Movie file types  (Read 5164 times)

0 Members and 1 Guest are viewing this topic.

marz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Movie file types
« on: July 27, 2004, 07:22:07 am »

I've run into a funky problem with support of movie files in coppermine 1.3.1.  I'm unable to batch add .mp4 movies (MPEG Layer 4), even it I add the .mp4 extension to the allowed movie file types in the coppermine config (using the comma delimited list: mov, mp4, wmv, rm, avi).  What file types does coppermine support when the setting is "ALL"?  The manual says:

>"ALL" will result in all allowed movie file types to be uploaded. If you want to restrict the allowed file types to certain extensions only, enter a coma-separated list of extensions, e.g. >wmv,avi,mov."

Since it appears that in the default "ALL" configuration .mp4 is not supported how would that support be added?  I tried appending the mp4 extension to the config after "ALL" (ALL, mp4), however, that results in all currently placed movies (mov and wmv format) to loose there custom or generic icons and still I'm unable to add a mp4 to the gallery?  Is a code hack necessary to support mp4?

Thanks for your attention
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Movie file types
« Reply #1 on: July 27, 2004, 07:45:08 am »

xou'll need a tool like phpMyAdmin to manually edit the mySQL table cpg_filetypes. You will have to add another line like this INSERT INTO cpgXXX_filetypes VALUES ('mpeg', 'video/mpeg', 'movie');

GauGau
Logged

marz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Movie file types
« Reply #2 on: July 27, 2004, 07:53:29 am »

Ah, I'll try adding that table when I get my development server back online, need the production server stable this weekend.  Thanks for the help, I really appreciate the quick response!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.