MDL-24650 xhtml strict fix in filter
This commit is contained in:
@@ -176,7 +176,7 @@ function filter_mediaplugin_mp3_callback($link) {
|
||||
|
||||
$output = <<<OET
|
||||
<span class="mediaplugin mediaplugin_mp3" id="$id"></span>
|
||||
<noscript>
|
||||
<noscript><div>
|
||||
<object width="100" height="15" id="nonjsmp3plugin" name="undefined" data="$playerpath" type="application/x-shockwave-flash">
|
||||
<param name="movie" value="$playerpath" />
|
||||
<param name="allowfullscreen" value="false" />
|
||||
@@ -195,7 +195,7 @@ function filter_mediaplugin_mp3_callback($link) {
|
||||
"clip":{"url":"$url",
|
||||
"autoPlay": false},
|
||||
"content":{"url":"$playerpath"}}}' />
|
||||
</object>
|
||||
</div></object>
|
||||
</noscript>
|
||||
OET;
|
||||
|
||||
@@ -284,7 +284,7 @@ function filter_mediaplugin_flv_callback($link) {
|
||||
|
||||
$output = <<<EOT
|
||||
<span class="mediaplugin mediaplugin_flv" id="$id"></span>
|
||||
<noscript>
|
||||
<noscript><div>
|
||||
<object width="800" height="600" id="undefined" name="undefined" data="$playerpath" type="application/x-shockwave-flash">
|
||||
<param name="movie" value="$playerpath" />
|
||||
<param name="allowfullscreen" value="true" />
|
||||
@@ -292,7 +292,7 @@ function filter_mediaplugin_flv_callback($link) {
|
||||
<param name="flashvars" value='config={"clip":{"url":"$url",
|
||||
"autoPlay": false},
|
||||
"content":{"url":"$playerpath"}}}' />
|
||||
</object>
|
||||
</div></object>
|
||||
</noscript>
|
||||
EOT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user