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: AVI not read with 1.5.10  (Read 2390 times)

0 Members and 1 Guest are viewing this topic.

cavok

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
AVI not read with 1.5.10
« on: December 14, 2010, 12:28:36 pm »

Hello, since I went from version 1.5.9 to version 1.5.10, AVI videos in my Firefox no longer read, while in IE there is no problem.
Thank's for your help.
Logged
Coppermine 1.5.22 hosting by Free

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: AVI not read with 1.5.10
« Reply #1 on: December 14, 2010, 01:45:26 pm »

Copy the function theme_html_picture from themes/sample/theme.php to your theme's theme.php file. Then, find
Code: [Select]
            $players['WMP'] = array('id' => 'MediaPlayer',
                                    'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
                                    'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ',
                                    'mime' => 'type="application/x-mplayer2" ',
                                   );
and replace with
Code: [Select]
            $players['WMP'] = array('id' => 'MediaPlayer',
                                    'clsid' => '',
                                    'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ',
                                    'mime' => 'type="application/x-mplayer2" ',
                                   );
Logged

cavok

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
Re: AVI not read with 1.5.10
« Reply #2 on: December 14, 2010, 11:00:23 pm »

André thank you for that answer.
But until I tried your answer from Video Player problem where the problem seems similar.
either:
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'].'>';
And it works.

Would you prefer that I keep making your changes on the previous topic (which looks more simple and that works).
Or try to apply even when your proposal here.
Logged
Coppermine 1.5.22 hosting by Free

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: AVI not read with 1.5.10
« Reply #3 on: December 15, 2010, 08:53:31 am »

The changes in the other thread will break the playback of Quicktime movies, so I'd prefer the proposal I just gave you here.
Logged

cavok

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
Re: AVI not read with 1.5.10
« Reply #4 on: December 17, 2010, 12:40:21 pm »

I did as recommended, it works well.

Should I make this change for each update or it will be integrated ?
Logged
Coppermine 1.5.22 hosting by Free

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: AVI not read with 1.5.10
« Reply #5 on: December 17, 2010, 01:28:33 pm »

I try to find a solution that works with all movie formats.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.