Fixed google video size issue
authorAlan Jack Pippin <ajp@pippin.(none)>
Tue, 10 Jul 2007 04:49:44 +0000 (22:49 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Tue, 10 Jul 2007 04:49:44 +0000 (22:49 -0600)
ItemAddEmbedVideo.inc

index 57f9132dd8c519364f894d6949b493747a642520..983ec79d041f82e00dcbb2c4968928f06d7ade98 100644 (file)
@@ -89,7 +89,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin {
           /* Print our stored/set Parameters */
           if(!strcmp($debugOutput,"true")) {
             print "<hr>";
-            print "<h2>Parameters</h2>";
+            print "<h2>Variable Parameters</h2>";
             print "debugOutput=$debugOutput<br>";
             print "useInternalFlvPlayer=$useInternalFlvPlayer<br>";
             print "youtubeDevId=$youtubeDevId<br>";
@@ -273,10 +273,10 @@ class ItemAddEmbedVideo extends ItemAddPlugin {
               }
 
               /* Format the description to hold a reference to the embedded video */
-              $description = '<embed FlashVars=';
+              $description = '<embed ';
               $description.= 'style="width:'.$width.'px; height:'.$height.'px;" id="VideoPlayback" ';
               $description.= 'type="application/x-shockwave-flash" ';
-              $description.= 'src="'.$googlePlayer.'?docId='.$doc_id.$autoStartStr.'"> ';
+              $description.= 'src="'.$googlePlayer.'?docId='.$doc_id.$autoStartStr.'" flashvars=""> ';
               $description.= '</embed>';
               $description.= "<br>$summary";