mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
filter/mediaplugin MDL-16650 Removed div to keep XHTML strict in most places
This commit is contained in:
parent
4d8bccf447
commit
e2cf2d7f23
1 changed files with 3 additions and 3 deletions
|
@ -216,14 +216,14 @@ function mediaplugin_filter_youtube_callback($link, $autostart=false) {
|
|||
$url = addslashes_js($link[2]);
|
||||
$info = addslashes_js($link[3]);
|
||||
|
||||
return '<div title="'.$info.'" class="mediaplugin mediaplugin_youtube">'.
|
||||
'<object type="application/x-shockwave-flash"
|
||||
return '<object title="'.$info.'"
|
||||
class="mediaplugin mediaplugin_youtube" type="application/x-shockwave-flash"
|
||||
data="'.$site.'youtube.com/v/'.$url.'&fs=1&rel=0" width="425" height="344">'.
|
||||
'<param name="movie" value="http://'.$site.'youtube.com/v/'.$url.'&fs=1&rel=0" />'.
|
||||
'<param name="FlashVars" value="playerMode=embedded" />'.
|
||||
'<param name="wmode" value="transparent" />'.
|
||||
'<param name="allowFullScreen" value="true" />'.
|
||||
'</object></div>';
|
||||
'</object>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue