MDL-32707 Moved fix to make youtube videos use transparent wmode setting into medialib.php
(this should have gone in with the previous merge. oops)
This commit is contained in:
+1
-1
@@ -535,7 +535,7 @@ class core_media_player_youtube extends core_media_player_external {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user