Permalink
Browse files

MDL-32707 Make youtube videos use the transparent wmode setting

  • Loading branch information...
1 parent aa753ac commit 185d90ad278f8c3dfa619085602ec9bbc4e8261d @andrewnicols andrewnicols committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter/mediaplugin/filter.php
@@ -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;
}

0 comments on commit 185d90a

Please sign in to comment.