MDL-32707 Make youtube videos use the transparent wmode setting

This commit is contained in:
Andrew Robert Nicols
2012-05-01 14:54:56 +01:00
parent aa753ac24f
commit 185d90ad27
+1 -1
View File
@@ -696,7 +696,7 @@ function filter_mediaplugin_youtube_callback($link) {
if (empty($CFG->xmlstrictheaders)) {
return <<<OET
<iframe title="$info" width="$width" height="$height" src="$site/embed/$videoid?rel=0" frameborder="0" allowfullscreen></iframe>
<iframe title="$info" width="$width" height="$height" src="$site/embed/$videoid?rel=0&wmode=transparent" frameborder="0" allowfullscreen></iframe>
OET;
}