[BUGFIX] URL not transfered to Flash if EMBED-Tag is loaded instead of OBJECT-Tag
authorsimonschaufi <simonschaufi@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 13 Nov 2011 15:21:51 +0000 (15:21 +0000)
committersimonschaufi <simonschaufi@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 13 Nov 2011 15:21:51 +0000 (15:21 +0000)
Fixes: #26513

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/macina_banners/trunk@54070 735d13b6-9817-0410-8766-e36946ffe9aa

pi1/class.tx_macinabanners_pi1.php

index 9865e85..e787870 100755 (executable)
@@ -344,7 +344,7 @@ class tx_macinabanners_pi1 extends tslib_pibase {
                                        $banner .= "<param name=\"menu\" value=\"false\" />\n";
                                        $banner .= "<param name=\"wmode\" value=\"transparent\" />\n";
                                        $banner .= "<param name=\"FlashVars\" value=\"clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" />\n";
-                                       $banner .= "<embed src=\"uploads/tx_macinabanners/" . $row['swf'] . "\" FlashVars=\"" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" . $row['flash_width'] . "\" height=\"" . $row['flash_height'] . "\"></embed>\n";
+                                       $banner .= "<embed src=\"uploads/tx_macinabanners/" . $row['swf'] . "\" FlashVars=\"clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" . $row['flash_width'] . "\" height=\"" . $row['flash_height'] . "\"></embed>\n";
                                        $banner .= "</object>\n";
 
                                        #t3lib_div::debug(array($clickTAG, $linkArray[1]));
@@ -441,7 +441,7 @@ class tx_macinabanners_pi1 extends tslib_pibase {
                                $banner .= "<param name=\"menu\" value=\"false\" />\n";
                                $banner .= "<param name=\"wmode\" value=\"transparent\" />\n";
                                $banner .= "<param name=\"FlashVars\" value=\"clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" />\n";
-                               $banner .= "<embed src=\"uploads/tx_macinabanners/" .  $this->internal['currentRow']['swf'] . "\" FlashVars=\"" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" .  $this->internal['currentRow']['flash_width'] . "\" height=\"" .  $this->internal['currentRow']['flash_height'] . "\"></embed>\n";
+                               $banner .= "<embed src=\"uploads/tx_macinabanners/" .  $this->internal['currentRow']['swf'] . "\" FlashVars=\"clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" .  $this->internal['currentRow']['flash_width'] . "\" height=\"" .  $this->internal['currentRow']['flash_height'] . "\"></embed>\n";
                                $banner .= "</object>\n";
                                $content = $banner;
                                break;