gwendolyn 
Contributor
Coppermine newbie
 
Karma: 0
Gender: 
Posts: 7
ey its me :D:D
|
 |
« on: July 24, 2006, 02:39:36 AM » |
|
hello all  made a small player integration into coppermine gallery for FLV-Videos  im no php pro or such .DD what ull see if u r one *smile* but it works and was the thing i needed  here are coming the install instructions: 1. download filetype editor MOD http://forum.coppermine-gallery.net/index.php?topic=24186.msg111120#msg1111202. make new filetype "flv application/x-shockwave-flash movie Flash player" 3. open theme.php (if code isnt insde paste the function "theme_html_picture" from /theme/sample/theme.php) a) search for // There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n"; }
replace with // There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
if ($mime_content['content']=='movie' && $mime_content['extension']=='flv') { $flv = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename']; $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"320\" height=\"260\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; $pic_html .= "<param name=\"movie\" value=\"flvplayer.swf?file=$flv?autoStart=false\" />"; $pic_html .= "<param name=\"wmode\" value=\"transparent\" />"; $pic_html .= "</object><br />\n";
} else {
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n";
} }
b) if u got problem with browser asking for plugin (on watchin other videos avi,mpg,wmf...) but the right one is installed: search for $pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; replace with $pic_html = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; 4. download the flvplayer package from http://www.jeroenwijering.com/?item=Flash_Video_Player and upload "flvplayer.swf" to gallery root 5. upload flv files and watch them on ur site  hf  °gwenny 
|
|
|
|
« Last Edit: July 26, 2006, 06:51:36 AM by GauGau »
|
Logged
|
tryin to fit a square into a circle was my life 
|
|
|
|
luapo
Coppermine newbie
Karma: 0
Posts: 2
|
 |
« Reply #1 on: July 25, 2006, 03:23:04 AM » |
|
Thanks for this mod, very easy to implement exactly what I was looking for. Just have one small issue the .flv files seem to play properly in firefox, however in IE6 & 7 they don't work at all. The click to play screen will show but the file will not load? I tried searching the forums @ http://www.jeroenwijering.com/?forum=Flash_FLV_Player . There were a few issues with the transparent tag and CSS, tried using but this did not fix the problem. Current flash version installed. Has anyone had this working in IE6 or 7? Or is this just a problem with me  Any ideas?
|
|
|
|
|
Logged
|
|
|
|
gwendolyn 
Contributor
Coppermine newbie
 
Karma: 0
Gender: 
Posts: 7
ey its me :D:D
|
 |
« Reply #2 on: July 25, 2006, 04:49:16 PM » |
|
seeking for a workaround  ---> also did not work for me  but now it works on - IE6 on xp and win2000 thx for bugreport, wouldnt have find it cause i dont use IE updated code plz rereplace 
|
|
|
|
« Last Edit: July 25, 2006, 06:09:33 PM by gwendolyn »
|
Logged
|
tryin to fit a square into a circle was my life 
|
|
|
|
luapo
Coppermine newbie
Karma: 0
Posts: 2
|
 |
« Reply #3 on: July 26, 2006, 12:57:14 AM » |
|
Works great in IE7 too. Thanks Again 
|
|
|
|
|
Logged
|
|
|
|
SnitchSeeker
Coppermine novice
Karma: -1
Posts: 27
|
 |
« Reply #4 on: December 05, 2006, 09:27:30 AM » |
|
This looks great! It may be perfect for what I need.
Is there a demo out there or can you give me a link to a page where you use it on your site?
Is there a way to insert a site logo as watermark in the videos?
|
|
|
|
|
Logged
|
|
|
|
gwendolyn 
Contributor
Coppermine newbie
 
Karma: 0
Gender: 
Posts: 7
ey its me :D:D
|
 |
« Reply #5 on: December 17, 2006, 11:03:47 PM » |
|
hi seeker  :D click here for http://213.239.198.200/atw/forumgallery/thumbnails.php?album=53 demo  :D about the watermarks, i just can say, resampling of the movie would be needed... but me always uploaded flv files directly, this is no mpg avi to flv mod... and this would be a quiter bigger project i think... cause of resampling the movies, and dont know (right now) how to decode mpg to flv and such on linux, but nice idea... ill watch for myself for a workaround... if ill have success, ill release it here in forum  :D
|
|
|
|
|
Logged
|
tryin to fit a square into a circle was my life 
|
|
|
|
gecekusu
Coppermine newbie
Karma: 0
Posts: 3
|
 |
« Reply #6 on: December 26, 2006, 02:42:54 AM » |
|
thank you very very much.it was what i exactly looking for.works perfect HERE
|
|
|
|
|
Logged
|
|
|
|
haga45
Coppermine newbie
Karma: 0
Posts: 5
|
 |
« Reply #7 on: December 31, 2006, 08:37:44 PM » |
|
WOW!!! I had posted earlier looking for an FLV solution and somehow missed this thread and MOD. I followed the instructions and BINGO - worked perfect the first time!!! YEAH!!
The only issue that I have now is that I did have some SWF files loaded that pointed to FLV files - these no longer work, so this might need to be looked at. The SWF/FLV combo files were created from Sorenson Squeeze 4.3 and the SWF file provided a way to load FLV video under SWF. I'm ok with this limitation, because my goal was only to show FLV files, but this might be a problem for someone else.
Thanks!
|
|
|
|
|
Logged
|
|
|
|
pdiddy8117
Coppermine regular visitor

Karma: -10
Gender: 
Posts: 66
luxuriousmodels.com
|
 |
« Reply #8 on: January 02, 2007, 01:06:55 AM » |
|
followed all instructions but i don't know where to put code I went to sample/themes to get code then placed in i dont want to put code on forum because im not sure if a long code is allowed i just need to know where exactlly to put the code and where to stop copying from in the sample themes. HELP 
|
|
|
|
|
Logged
|
|
|
|
pdiddy8117
Coppermine regular visitor

Karma: -10
Gender: 
Posts: 66
luxuriousmodels.com
|
 |
« Reply #9 on: January 02, 2007, 01:59:55 AM » |
|
Got it to work but it doesnt work with my opera browser. Any help? Thanks
|
|
|
|
|
Logged
|
|
|
|
|
jape
Coppermine newbie
Karma: -1
Posts: 8
|
 |
« Reply #10 on: January 09, 2007, 08:24:29 AM » |
|
Why don´t work anything browser??? advices...??  example, IE 7 screenshot: i click white screen, but not happend anything...  Thanks any help... 
|
|
|
|
|
Logged
|
|
|
|
Joachim Müller
Administrator
Coppermine addict
   
Karma: 104
Gender: 
Posts: 38186
aka "GauGau"
|
 |
« Reply #11 on: January 09, 2007, 08:33:42 AM » |
|
Screenshots or reports that just say "doesn't work for me" are not helpfull. Post actual (deep) links.
|
|
|
|
|
Logged
|
Don't contact me over PM or email unless I asked you to. Instead: post on the proper board. All unrequested messages will be ignored and your negative karma will no doubt increase!
Like my avatar? Create a free custom avatar just like mine.
|
|
|
|
jape
Coppermine newbie
Karma: -1
Posts: 8
|
 |
« Reply #12 on: January 09, 2007, 09:03:27 AM » |
|
I´m sorry but my website not public yet....  ...separate my websites this working, but not copppermine gallerys. Gallery version is: 1.4.10 Theme is: WaterDrop sample.php files location: /home/admin/public_html/gallery/themes/sample My flvplayer.swf files is location: /home/admin/public_html/gallery My video.flv files is location: /home/admin/public_html/gallery/albums/userpics/10066/video.flv Filetype mod is installed and add new filetype: flv application/x-shockwave-flash movie Flash player This is my sample.php files stump... ... $players['SWF'] = array('id' => 'SWFlash', 'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ', 'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ', 'mime' => 'type="application/x-shockwave-flash" ' ); $players['UNK'] = array('id' => 'DefaultPlayer', 'clsid' => '', 'codebase' => '', 'mime' => '' );
if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) { $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player']; } else { $user_player = $mime_content['player']; }
// There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
if ($mime_content['content']=='movie' && $mime_content['extension']=='flv') { $flv = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename']; $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"320\" height=\"260\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; $pic_html .= "<param name=\"movie\" value=\"flvplayer.swf?file=$flv?autoStart=false\" />"; $pic_html .= "<param name=\"wmode\" value=\"transparent\" />"; $pic_html .= "</object><br />\n";
} else {
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n";
} } etc... I hope this info is help... thanks 
|
|
|
|
|
Logged
|
|
|
|
Joachim Müller
Administrator
Coppermine addict
   
Karma: 104
Gender: 
Posts: 38186
aka "GauGau"
|
 |
« Reply #13 on: January 09, 2007, 09:08:08 AM » |
|
The sample theme is irrelevant and not being taken into account.
|
|
|
|
|
Logged
|
Don't contact me over PM or email unless I asked you to. Instead: post on the proper board. All unrequested messages will be ignored and your negative karma will no doubt increase!
Like my avatar? Create a free custom avatar just like mine.
|
|
|
|
jape
Coppermine newbie
Karma: -1
Posts: 8
|
 |
« Reply #14 on: January 09, 2007, 09:20:03 AM » |
|
But where paste this code? // There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
if ($mime_content['content']=='movie' && $mime_content['extension']=='flv') { $flv = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename']; $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"320\" height=\"260\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; $pic_html .= "<param name=\"movie\" value=\"flvplayer.swf?file=$flv?autoStart=false\" />"; $pic_html .= "<param name=\"wmode\" value=\"transparent\" />"; $pic_html .= "</object><br />\n";
} else {
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n";
} } My water drop themes no be this replace codes: // There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n"; }
This is my water drop theme.php <?php /************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2006 Coppermine Dev Team v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ******************************************** Coppermine version: 1.4.10 $Source$ $Revision: 3275 $ $Author: gaugau $ $Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $ **********************************************/
define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until // you have validated it. See docs/theme.htm.
// HTML template for template sys_menu spacer $template_sys_menu_spacer ='<img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />';
?>
|
|
|
|
|
Logged
|
|
|
|
|
jape
Coppermine newbie
Karma: -1
Posts: 8
|
 |
« Reply #15 on: January 09, 2007, 10:05:20 AM » |
|
Ou.... Now working  I paste this code my water_drop/theme.php files... // Displays a picture function theme_html_picture() { global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER; global $album, $comment_date_fmt, $template_display_media; global $lang_display_image_php, $lang_picinfo;
$pid = $CURRENT_PIC_DATA['pid']; $pic_title = '';
if (!isset($USER['liv']) || !is_array($USER['liv'])) { $USER['liv'] = array(); } // Add 1 to hit counter if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) { add_hit($pid); if (count($USER['liv']) > 4) array_shift($USER['liv']); array_push($USER['liv'], $pid); }
if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored $condition = true; }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){ $condition = true; }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){ $condition = true; }else{ $condition = false; }
if ($CURRENT_PIC_DATA['title'] != '') { $pic_title .= $CURRENT_PIC_DATA['title'] . "\n"; } if ($CURRENT_PIC_DATA['caption'] != '') { $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n"; } if ($CURRENT_PIC_DATA['keywords'] != '') { $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords']; }
if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) { template_extract_block($template_display_media, 'img_desc'); } else { if (!$CURRENT_PIC_DATA['title']) { template_extract_block($template_display_media, 'title'); } if (!$CURRENT_PIC_DATA['caption']) { template_extract_block($template_display_media, 'caption'); } }
$CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';
if ($CONFIG['make_intermediate'] && $condition ) { $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal'); } else { $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize'); }
$image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);
$pic_title = ''; $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) { $CURRENT_PIC_DATA['pwidth'] = 320; // Default width
// Set default height; if file is a movie if ($mime_content['content']=='movie') { $CURRENT_PIC_DATA['pheight'] = 240; // Default height } }
$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).'"'; }
if ($mime_content['content']=='image') { if (isset($image_size['reduced'])) { $winsizeX = $CURRENT_PIC_DATA['pwidth']+5; //the +'s are the mysterious FF and IE paddings $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">"; $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title; $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />"; $pic_html .= "</a>\n"; } else { $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n"; } } elseif ($mime_content['content']=='document') { $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb'); $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />"; } else { $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');
$players['WMP'] = array('id' => 'MediaPlayer', 'clsid' => 'classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" ', 'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ', 'mime' => 'type="application/x-mplayer2" ', ); $players['RMP'] = array('id' => 'RealPlayer', 'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ', 'codebase' => '', 'mime' => 'type="audio/x-pn-realaudio-plugin" ' ); $players['QT'] = array('id' => 'QuickTime', 'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ', 'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ', 'mime' => 'type="video/x-quicktime" ' ); $players['SWF'] = array('id' => 'SWFlash', 'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ', 'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ', 'mime' => 'type="application/x-shockwave-flash" ' ); $players['UNK'] = array('id' => 'DefaultPlayer', 'clsid' => '', 'codebase' => '', 'mime' => '' );
if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) { $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player']; } else { $user_player = $mime_content['player']; } // There isn't a player selected or user wants client-side control if (!$user_player) { $user_player = 'UNK'; }
if ($mime_content['content']=='movie' && $mime_content['extension']=='flv') { $flv = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename']; $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"320\" height=\"260\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; $pic_html .= "<param name=\"movie\" value=\"flvplayer.swf?file=$flv?autoStart=false\" />"; $pic_html .= "<param name=\"wmode\" value=\"transparent\" />"; $pic_html .= "</object><br />\n";
} else {
$player = $players[$user_player];
$pic_html = '<object id="'.$player['id'].'" '.$player['classid'].$player['codebase'].$player['mime'].$image_size['whole'].'>'; $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />"; $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>'; $pic_html .= "</object><br />\n";
} }
$CURRENT_PIC_DATA['html'] = $pic_html; $CURRENT_PIC_DATA['header'] = ''; $CURRENT_PIC_DATA['footer'] = '';
$CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);
$params = array('{CELL_HEIGHT}' => '100', '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'], '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'], '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']), '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']), );
return template_eval($template_display_media, $params); }
|
|
|
|
|
Logged
|
|
|
|
|
pbcnx
Coppermine newbie
Karma: -1
Posts: 2
|
 |
« Reply #16 on: January 09, 2007, 10:59:37 AM » |
|
i have a question. is it possible to make your own player and integrate it using this code? if possible, how? and thanks 
|
|
|
|
|
Logged
|
|
|
|
|
pax
Coppermine newbie
Karma: 1
Posts: 7
|
 |
« Reply #17 on: January 23, 2007, 03:00:06 AM » |
|
Great mod - nice job!
I guess that auto grabbing a thumbnail from the flv file would be pretty tricky?
|
|
|
|
|
Logged
|
|
|
|
|
popersman
Coppermine newbie
Karma: 0
Posts: 17
|
 |
« Reply #18 on: January 24, 2007, 06:45:44 PM » |
|
That's a great mode!! I love it!! On another hand, I tried to modify the dimensions of the flv video in the following line: $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"320\" height=\"260\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; I replaced it by $pic_html = "<object type=\"application/x-shockwave-flash\" width=\"640\" height=\"480\" wmode=\"transparent\" data=\"flvplayer.swf?file=$flv?autoStart=false\">"; I am doing this since i kept a VGA resolution for my flv videos. The issue is that while in 320x260 the video run smooth, in vga resolution it plays image by image instead. Here is a link to the page playing in vga: http://ed.roquette.free.fr/photo/displayimage.php?album=87&pos=0Is this because playing VGA resolutions is too demanding on the server? Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
popersman
Coppermine newbie
Karma: 0
Posts: 17
|
 |
« Reply #19 on: January 24, 2007, 06:50:56 PM » |
|
I guess that auto grabbing a thumbnail from the flv file would be pretty tricky?
I've seen that done by rphMedia on his website ( http://gallery.rphmedia.net/), albeit he was using wmv file (see here. I'd be pretty curious to see how he does that.
|
|
|
|
|
Logged
|
|
|
|
|