[BUGFIX] Working in IE, not working in FF/Safari/Opera - Again 35/17835/2
authorWolfgang Becker <wolfgang.becker@visionate.com>
Wed, 30 Jan 2013 13:42:32 +0000 (14:42 +0100)
committerWolfgang Becker <wolfgang.becker@visionate.com>
Wed, 30 Jan 2013 13:52:47 +0000 (14:52 +0100)
Commit this change again due to mistake in last Commit
Resolves: #9381

Change-Id: Ifa9bcbfed25b6caea98d7458d9569cac557011e6
Reviewed-on: https://review.typo3.org/17835
Reviewed-by: Wolfgang Becker
Tested-by: Wolfgang Becker
pi1/class.tx_macinabanners_pi1.php

index 6a55b4a..b26e300 100755 (executable)
@@ -341,14 +341,14 @@ class tx_macinabanners_pi1 extends tslib_pibase {
                                        }
 
                                        $banner = "\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" . $row['flash_width'] . "\" height=\"" . $row['flash_height'] . "\">\n";
-                                       $banner .= "<param name=\"movie\" value=\"uploads/tx_macinabanners/" . $row['swf'] . "\" />\n";
-                                       $banner .= "<param name=\"quality\" value=\"high\" />\n";
+                                       $banner .= "<param name=\"movie\" value=\"uploads/tx_macinabanners/" . $row['swf'] . "?clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" />\n";
+                                       $banner .= "<param name=\"quality\" value=\"autohigh\" />\n";
                                        $banner .= "<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n";
                                        $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=\"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 .= "<embed src=\"uploads/tx_macinabanners/" . $row['swf'] . "?clickTAG=" . urlencode($clickTAG) . "&amp;target=" . $linkArray[1] . "\" quality=\"autohigh\" 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";
+
                                        break;
                                case 2:
                                        $banner = $row['html'];