From: Dongsheng Cai Date: Wed, 25 Nov 2009 06:40:25 +0000 (+0000) Subject: "MDL-8677, fixed mimetype name" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bb8024536a26b7ff5fd0e7f5a39da21135be6b5e;p=moodle.git "MDL-8677, fixed mimetype name" --- diff --git a/mod/url/locallib.php b/mod/url/locallib.php index a48859d0f4..d3dad2c1f0 100644 --- a/mod/url/locallib.php +++ b/mod/url/locallib.php @@ -259,7 +259,7 @@ function url_display_embed($url, $cm, $course) { // Mpeg file $code = resourcelib_embed_mpeg($fullurl, $title, $clicktoopen); - } else if ($mimetype == 'audio/x-pn-realaudio') { + } else if ($mimetype == 'audio/x-pn-realaudio-plugin') { // RealMedia file $code = resourcelib_embed_real($fullurl, $title, $clicktoopen);