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:
Aparup Banerjee 2012-05-11 12:57:55 +08:00
parent ddd492ad7f
commit 429f2bd096

View file

@ -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;
}