Commit 5665edfb authored by Robert Lyon's avatar Robert Lyon
Browse files

Overlay problems in block edit mode (bug 1240307)



In Chrome - when editing a block when there is a nearby embedded media video
block can cause the video part of the block to display over the config
form making it hard to do editing.

From what the interweb says this is a problem with wmode needing to be
set.

Change-Id: I8cd2a9c20ac2e14fe52274aeafeead96a7e94c17
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 6de6468d
......@@ -385,6 +385,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
<param name="AnimationAtStart" value="false">
<param name="ShowGotoBar" value="false">
<param name="EnableFullScreenControls" value="true">
<param name="Wmode" value="opaque">
<!--[if !IE]>-->
<object data="' . $url . '" type="' . $mimetype . '" ' . $size . '>
<param name="src" value="' . $url . '">
......@@ -393,6 +394,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
<param name="autoplay" value="' . $autostart . '">
<param name="autostart" value="' . $autostart . '">
<param name="resize" value="scale">
<param name="wmode" value="opaque">
</object>
<!--<![endif]-->
</object></span>';
......
......@@ -1294,6 +1294,7 @@ if (typeof jQuery == 'function') {
// flashembed defaults
allowfullscreen: true,
allowscriptaccess: 'always',
wmode: 'opaque',
quality: 'high',
// flashembed specific options
......
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