forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: cavok 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.
-
Copy the function theme_html_picture from themes/sample/theme.php to your theme's theme.php file. Then, find
$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
$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" ',
);
-
André thank you for that answer.
But until I tried your answer from Video Player problem (http://forum.coppermine-gallery.net/index.php/topic,68600.0.html) where the problem seems similar.
either:Please try the following. Open include/themes.inc.php, find
$pic_html = '<object id="'.$player['id'].'" '.$player['data'].$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
and replace with
$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.
-
The changes in the other thread will break the playback of Quicktime movies, so I'd prefer the proposal I just gave you here.
-
I did as recommended, it works well.
Should I make this change for each update or it will be integrated ?
-
I try to find a solution that works with all movie formats.