mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-14412 Applied Michael's patches to fix ram/rm support in firefox. Merged from MOODLE_19_STABLE
This commit is contained in:
parent
f474a4e583
commit
7c59f3be9d
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<<<<<<< filter.php
|
||||||
<?php // $Id$
|
<?php // $Id$
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
// Media plugin filtering
|
// Media plugin filtering
|
||||||
|
@ -207,7 +208,7 @@ document.write(\'<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" wi
|
||||||
<param name="controls" value="imagewindow" />\\
|
<param name="controls" value="imagewindow" />\\
|
||||||
<param name="console" value="video" />\\
|
<param name="console" value="video" />\\
|
||||||
<param name="loop" value="true" />\\
|
<param name="loop" value="true" />\\
|
||||||
<embed src="'.$url.'" width=240" height="180" loop="true" type="'.$mimetype.'" controls="imagewindow" console="video" autostart="'.$autostart.'" />\\
|
<embed src="'.$url.'" width="240" height="180" loop="true" type="'.$mimetype.'" controls="imagewindow" console="video" autostart="'.$autostart.'" />\\
|
||||||
</object><br />\\
|
</object><br />\\
|
||||||
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="240" height="30">\\
|
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="240" height="30">\\
|
||||||
<param name="src" value="'.$url.'" />\\
|
<param name="src" value="'.$url.'" />\\
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<<<<<<< filelib.php
|
||||||
<?php //$Id$
|
<?php //$Id$
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -902,10 +903,10 @@ function get_mimetypes_array() {
|
||||||
|
|
||||||
'ps' => array ('type'=>'application/postscript', 'icon'=>'pdf.gif'),
|
'ps' => array ('type'=>'application/postscript', 'icon'=>'pdf.gif'),
|
||||||
'qt' => array ('type'=>'video/quicktime', 'icon'=>'video.gif'),
|
'qt' => array ('type'=>'video/quicktime', 'icon'=>'video.gif'),
|
||||||
'ra' => array ('type'=>'audio/x-realaudio', 'icon'=>'audio.gif'),
|
'ra' => array ('type'=>'audio/x-realaudio-plugin', 'icon'=>'audio.gif'),
|
||||||
'ram' => array ('type'=>'audio/x-pn-realaudio', 'icon'=>'audio.gif'),
|
'ram' => array ('type'=>'audio/x-pn-realaudio-plugin', 'icon'=>'audio.gif'),
|
||||||
'rhb' => array ('type'=>'text/xml', 'icon'=>'xml.gif'),
|
'rhb' => array ('type'=>'text/xml', 'icon'=>'xml.gif'),
|
||||||
'rm' => array ('type'=>'audio/x-pn-realaudio', 'icon'=>'audio.gif'),
|
'rm' => array ('type'=>'audio/x-pn-realaudio-plugin', 'icon'=>'audio.gif'),
|
||||||
'rtf' => array ('type'=>'text/rtf', 'icon'=>'text.gif'),
|
'rtf' => array ('type'=>'text/rtf', 'icon'=>'text.gif'),
|
||||||
'rtx' => array ('type'=>'text/richtext', 'icon'=>'text.gif'),
|
'rtx' => array ('type'=>'text/richtext', 'icon'=>'text.gif'),
|
||||||
'sh' => array ('type'=>'application/x-sh', 'icon'=>'text.gif'),
|
'sh' => array ('type'=>'application/x-sh', 'icon'=>'text.gif'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue