Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Video player problem  (Read 3563 times)

0 Members and 1 Guest are viewing this topic.

kr4zy

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Video player problem
« 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Video player problem
« Reply #1 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'].'>';
Logged

kr4zy

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Video player problem
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Video player problem
« Reply #3 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.
Logged

maritimefly

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Video player problem
« Reply #4 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 it is closed to the public right now.  Just wanted to tell you that your code worked.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.