From: Alan Jack Pippin <ajp@pippin.(none)>
Date: Tue, 10 Jul 2007 04:49:44 +0000 (-0600)
Subject: Fixed google video size issue
X-Git-Tag: 1_0_4~1
X-Git-Url: http://git.pippins.net/%7Bedit%7D?a=commitdiff_plain;h=b219b04f87d68297cc8fd849aec6a2b6df92ba39;p=embedvideo%2F.git

Fixed google video size issue
---

diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc
index 57f9132..983ec79 100644
--- a/ItemAddEmbedVideo.inc
+++ b/ItemAddEmbedVideo.inc
@@ -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";