MDL-24650 fixing sloppy regression, sorry; credit for goes to Daniele Cordella
authorPetr Skoda <skodak@moodle.org>
Wed, 13 Oct 2010 20:14:40 +0000 (20:14 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 13 Oct 2010 20:14:40 +0000 (20:14 +0000)
filter/mediaplugin/filter.php

index ff59cf2..4324a96 100644 (file)
@@ -195,8 +195,8 @@ function filter_mediaplugin_mp3_callback($link) {
                                            "clip":{"url":"$url",
                                                    "autoPlay": false},
                                            "content":{"url":"$playerpath"}}}' />
-    </div></object>
-    </noscript>
+    </object>
+    </div></noscript>
 OET;
 
     $jsoutput = create_flowplayer($id, $url, 'mp3', $playercolors);
@@ -292,8 +292,8 @@ function filter_mediaplugin_flv_callback($link) {
     <param name="flashvars" value='config={"clip":{"url":"$url",
                                                    "autoPlay": false},
                                            "content":{"url":"$playerpath"}}}' />
-    </div></object>
-  </noscript>
+    </object>
+    </div></noscript>
 EOT;
 
     $jsoutput = create_flowplayer($id, $url, 'flv');