mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 16:18:24 +01:00
FIxed a silly typo!
This commit is contained in:
parent
7758d00f97
commit
d6021c77f6
@ -30,10 +30,10 @@ function mediaplugin_filter($courseid, $text) {
|
||||
|
||||
$search = '/<a(.*)href=\"(.*)\.mp3\"([^>]*)>([^>]*)<\/a>/i';
|
||||
|
||||
$replace = '\\0<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
|
||||
$replace = '\\0 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
|
||||
$replace .= ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ';
|
||||
$replace .= ' width="35" height="18" id="mp3player" align="">';
|
||||
$replace .= " <param name=movie value=\"$CFG->wwwroot/filter/mediaplugin/mp3player/mp3player.swf?src=\\2.mp3\">";
|
||||
$replace .= " <param name=movie value=\"$CFG->wwwroot/filter/mediaplugin/mp3player.swf?src=\\2.mp3\">";
|
||||
$replace .= ' <param name=quality value=high>';
|
||||
$replace .= ' <param name=bgcolor value="#333333">';
|
||||
$replace .= " <embed src=\"$CFG->wwwroot/filter/mediaplugin/mp3player.swf?src=\\2.mp3\" ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user