Commit 7fc451dc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove text from inside flowplayer container elements (bug #676693)


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 31b34f12
......@@ -282,9 +282,8 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
}
$html = '<a href="' . $url . '">' . hsc($artefact->get('title')) . '</a><br>
<span class="blocktype_internalmedia_mp3" id="' . $id . '"
style="display:block;width:'.$width.'px;height:'.$height.'px;">('
. get_string('flashanimation', 'blocktype.file/internalmedia') . ')</span>
<span class="blocktype_internalmedia_mp3" id="' . $id . '" style="display:block;width:'.$width.'px;height:'.$height.'px;"></span>
<span id="' . $id . '_h">' . get_string('flashanimation', 'blocktype.file/internalmedia') . '</span>
<script type="text/javascript">
flowplayer("'.$id.'", "'.$playerurl.'", {
clip: {
......@@ -308,6 +307,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
}'.$audio.'
}
}).load();
addElementClass("' . $id . '_h", "hidden");
</script>
';
return $html;
......
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