coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: roryh86 on May 17, 2005, 06:29:53 PM

Title: Probelm with Video files
Post by: roryh86 on May 17, 2005, 06:29:53 PM
Hi there. I am having a problem with my video files. I tried searching the board for something similar but couldnt find anything related. My problem with the video files (I have tried many types eg. .mpg,.mov,.mp4) is that the video controls arnt visible. I have attached pictures so you can see:

Firefox:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg215.echo.cx%2Fimg215%2F7583%2Ffirefoxvid2qi.jpg&hash=ff371b77fe8b881df744be23804a8e8bb5027500)

-Quicktime controls arnt visible, and I believe that they arent visible because the box that the video is in, isnt big enough. But in the config page, video can be up to 400 Pixels, and this video is smaller than that.

Internet Explorer

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg204.echo.cx%2Fimg204%2F4530%2Fexplorervid5gz.jpg&hash=ea82078f38ef8592da0cd85af3ba5109d588ce82)

-In Internet Explorer, the problem is even worse, because the video box is tiny! I duno why this problem is occuring.


I would just like to know if there is any solution to this, and have you discussed this problem before. I would appreciate all your help, Thanks.


Title: Re: Probelm with Video files
Post by: Crash_Sys on May 18, 2005, 08:19:40 AM
Which mod did you use?
Title: Re: Probelm with Video files
Post by: roryh86 on May 18, 2005, 01:15:37 PM
I didnt understand what you mean? What do you mean what modification? Thanks again 4 ur help.
Title: Re: Probelm with Video files
Post by: Nibbler on May 18, 2005, 03:15:49 PM
Have you specified dimensions for the movie in the pic's info ?

There's a mechanism for adding a control offset in displayimage.php

    } elseif ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
        $ctrl_offset['mov']=15;
        $ctrl_offset['wmv']=45;
        $ctrl_offset['swf']=0;
        $ctrl_offset['rm']=0;
        $ctrl_offset_default=45;
        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
    }


I can't help you with IE issues.
Title: Re: Probelm with Video files
Post by: roryh86 on May 18, 2005, 10:09:18 PM
Still didnt work ??? Does anyone know how to control the size of the box that MOVIES are played in? Is it a problem if my movies are 320x240? My movies are NOT getting squashed, instead its the white borders that are covering the sides of the movie, and in IE it is REALLY bad  >:(

Does anyone have this problem....please, do you know if this is normal?
Title: Re: Probelm with Video files
Post by: kegobeer on May 19, 2005, 01:12:23 AM
How about a link to your site?
Title: Re: Probelm with Video files
Post by: roryh86 on May 20, 2005, 03:21:18 PM
Hey, I guess still no solution :( Neway, if it helps if u see the site for urself, no problem. The site is my dads, im doing the design and gallery. Neway the link to the gallery is:

http://portfolio.creativekeyline.com/


Hope u can find out the solution. And btw, the video files are under  the Album/Categorie named "TVCs". THanks.
Title: Re: Probelm with Video files
Post by: toujours on May 22, 2005, 06:15:43 PM
I had a similar "problem" and came looking for an answer about 15 mins ago. I went back and found the answer myself..

It may be that you just haven't set the video size in Coppermine. Here's how I did it.

1. First I uploaded the video files and put them in the right album.
2. Then, in admin mode (it works for me) I clicked on the album's (not the thumb) EDIT FILES button. This shows a list of all pics and videos in the album. Then you have to enter the exact video size for each movie in the 'Files info" line. Example : 320 x 240 which is the size of my video files (get this from quicktime's movie properties menu for example).
3. Apply modifications and test !

By the way, check if this works with your .mp4 files. All mine are .mov
If it doesn't work you may have to add a line in the displayimage.php file. To know how to do this correctly, check with someone more knowledgeable than me. Mime types and the like are NOT my cup of tea...

Good luck. I won't be back for a while...
Title: Re: Probelm with Video files
Post by: kegobeer on May 22, 2005, 06:47:51 PM
I visited your site and all the controls displayed correctly on IE.  I don't have the necessary plug-in for FF, so I can't verify that.  I also don't have a MP4 plug-in for any of my players, so I can't see if your videos play correctly.
Title: Re: Probelm with Video files
Post by: Joachim Müller on May 23, 2005, 09:22:32 AM
same thing applies to me, I can see the controls just fine, but I don't have the required codec installed on my PC. This may be something you did on your browser or local machine (any so-called "security software" like the infamous "Norton internet security" installed? Disable it temporarily to see if this fixes any issues). I also suggest using encodings everybody already has on the machine.

Title: Re: Probelm with Video files
Post by: roryh86 on May 23, 2005, 07:41:25 PM
Hey, thanks toujours! Your explanation was great at it worked perfectly  ;) As for the mime, I added the .mp4 extension to the displayimage.php file, and now the controls fit perfectly ;) Thanks again guys for all your help!