Permalink
Browse files

MDL-32707 Moved fix to make youtube videos use transparent wmode sett…

…ing into medialib.php

(this should have gone in with the previous merge. oops)
  • Loading branch information...
1 parent ddd492a commit 429f2bd096d12dc37b6c84adcf610e6521003fbe @nebgor nebgor committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/medialib.php
View
@@ -535,7 +535,7 @@ protected function embed_external(moodle_url $url, $name, $width, $height, $opti
if (empty($CFG->xmlstrictheaders)) {
return <<<OET
<iframe title="$info" width="$width" height="$height"
- src="$site/embed/$videoid?rel=0" frameborder="0" allowfullscreen></iframe>
+ src="$site/embed/$videoid?rel=0&wmode=transparent" frameborder="0" allowfullscreen></iframe>
OET;
}

0 comments on commit 429f2bd

Please sign in to comment.