forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: kr4zy on December 05, 2010, 02:28:21 pm

Title: Video player problem
Post by: kr4zy on December 05, 2010, 02:28:21 pm
Hello everyone i am quite new to coppermine and installed it last night and managed to get everything up and running fine. The 1 problem i have ran into is below.

I have uploaded a small video clip just to test it but have came across a problem, my default browser is google chrome these are what i have found.

Google chrome = Shows the space where the video player should be but is not visable.

Firefox = Shows no space where the video player should be so nothing loading.

Internet explorer = Shows the video player and plays the video perfectly fine.

I hope i have posted this to the right section as i have searched for the error all over the forums but can only seem to find a similar one in which the problem is only with their internet explorer.

Any help would be greatly appreciated.

My gallery link is http://www.pc9.info/gallery

Kind regards
Daniel.
Title: Re: Video player problem
Post by: Αndré on December 05, 2010, 04:50:06 pm
Please try the following. Open include/themes.inc.php, find
Code: [Select]
$pic_html  = '<object id="'.$player['id'].'" '.$player['data'].$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';and replace with
Code: [Select]
$pic_html  = '<object id="'.$player['id'].'" '.$player['data'].$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
Title: Re: Video player problem
Post by: kr4zy on December 05, 2010, 05:43:45 pm
Thank you very much Andre. Issue now solved and working in all of my browsers.

Thanks again Regards Danny.
Title: Re: Video player problem
Post by: Αndré on December 06, 2010, 03:24:02 pm
I just visited your gallery to download a video file that didn't work. Unfortunately your gallery is empty. Can you please re-upload one video file (I'm quite sure it was an mpeg file) so I can make some tests to develop a fix that work with all types of video files? Thanks.
Title: Re: Video player problem
Post by: maritimefly on December 24, 2010, 05:15:40 am
Hi,

I had the same problem. i am using .wmv files. I used your fix and it solved the problem on moz firefox. I now can play vids with that browser.
http://images.sdnovascotian.ca (http://images.sdnovascotian.ca) it is closed to the public right now.  Just wanted to tell you that your code worked.