Hello everyone,
I apologize if this has been answered but i've looked everywhere both here on copermine and on JW's site. I tried to make this modification but
my FLV files are not loading (or playing) all I get is a blank white screen. This is the case weather I am trying to view it on any browser (fire fox, IE 6, and IE 7).
I've tried all kinds of diffrent things like moving the files to different directories but nothing works.
Here is what I did:
1) I download the the FileType plug in and added the flv extension, application/x-shockwave-flash, movie and Flash Player to the list.
2) I then downloaded the Flash Video Player from JW's website and uploaded it to the root of the gallery (
http://www.oiucmglobal.com/v2/gallery/).
3) I then uploaded a flv video (320K) using the Coppermine interface, wrote a description, type in the dimensions, and selected a album.
When I try to view as I said I get a white blank screen nothing else nothing at all.
Another thing that I noticed when the vieo file was uploaded it uploaded it to the gallery/albums/userpics/10001 directory and not the album I choose. Is this ok?
You should know that I am uploading the photos via batch and adding the videos via the coppermine upload interface one at a time. ANY HELP WOULD BE GREATLY APPRECIATED.
I have to get this site launched by monday 3/19/2007. Please help!!
Again here is the URL to the gallery:
http://www.oiucmglobal.com/v2/gallery/Below is my theme.php file ( I am using the default theme, classic). Thank you again.
<?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) $
**********************************************/
// ------------------------------------------------------------------------- //
// This theme has all CORE items removed //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);
// 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 = '<object id="'.$player['id'].'" '.$player['clsid'].$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";
}
?>
Than you everyone!