Commit 2bf93ecb authored by Nigel Cunningham's avatar Nigel Cunningham
Browse files

Bug1254841: Flash player displayed over dialogs.



Fix the flash player for embedded media being displayed
over dialogs by adding wmode=transparent. Tested on IE9,
Chrome 37 and Firefox 32.

Change-Id: I2b450b7373a7b1506d733a86090a9932b51b2f72
Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
parent c66157b7
......@@ -253,6 +253,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
so.addVariable("type", "swf");
so.addVariable("height", "' . $height . '");
so.addVariable("width", "' . $width . '");
so.addVariable("wmode", "transparent");
';
foreach ($params as $key => $value) {
$html .= ' so.addParam("' . $key . '", "' . $value . '"); '. "\n";
......@@ -430,6 +431,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
<param name="autoplay" value="' . $autostart . '">
<param name="autostart" value="' . $autostart . '">
<param name="scale" value="aspect">
<param name="wmode" value="transparent">
</object>
<!--<![endif]-->
</object></span>';
......
......@@ -1336,7 +1336,8 @@ if (typeof jQuery == 'function') {
onFail: null,
expressInstall: null,
w3c: false,
cachebusting: false
cachebusting: false,
wmode: 'transparent'
};
// version 9 bugfix: (http://blog.deconcept.com/2006/07/28/swfobject-143-released/)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment