mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 07:39:54 +02:00
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:
parent
ddd492ad7f
commit
429f2bd096
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue