Probelm with Video files Probelm with Video files
 

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]

Main Menu

Probelm with Video files

Started by roryh86, May 17, 2005, 06:29:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roryh86

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.



Crash_Sys


roryh86

I didnt understand what you mean? What do you mean what modification? Thanks again 4 ur help.

Nibbler

#3
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.

roryh86

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?

kegobeer

How about a link to your site?
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

roryh86

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.

toujours

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

kegobeer

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

Joachim Müller

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.


roryh86

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!