From: Alan Jack Pippin Date: Tue, 12 Jun 2007 02:36:30 +0000 (-0600) Subject: Additional bug fixes X-Git-Tag: 1_0_4~11 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/images/static/git-favicon.png?a=commitdiff_plain;h=ab7cc4b500e0cb37b9f9a9f3f19dae89f73bf76c;p=embedvideo%2F.git Additional bug fixes --- diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index c0d355d..ba84786 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -122,7 +122,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { } - if($debugOutput) { + if(!strcmp($debugOutput,"true")) { print "$xml"; } @@ -241,7 +241,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { * This reference will be embedded using the G2 internal player, * or an external player if provided by the user. */ - if(!$useInternalFlvPlayer) { + if(!strcmp($useInternalFlvPlayer,"false")) { /* * The user has indicated they want to use an external flv player @@ -334,7 +334,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { $tmpFile = $platform->tempnam($tmpDir, 'add'); $tmpFile.= ".jpg"; - if($debugOutput) { + if(!strcmp($debugOutput,"true")) { print "thumbnail: $thumbnail
"; } @@ -357,7 +357,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { $fileName = preg_replace("/&#\d+;/","",$fileName); /* General debug output */ - if($debugOutput) { + if(!strcmp($debugOutput,"true")) { print "

"; print "\n".$summary."

"; print "

$description

";