MDL-16572 - avi files were not detected as PORTFOLIO_FORMAT_VIDEO

This commit is contained in:
poltawski 2008-09-18 21:17:18 +00:00
parent 3bfb1f59cd
commit d02b207a21

View File

@ -65,7 +65,10 @@ class portfolio_format_html extends portfolio_format_file {
*/
class portfolio_format_video extends portfolio_format_file {
public static function mimetypes() {
return mimeinfo_from_icon('type', 'video.gif', true);
return array_merge(
mimeinfo_from_icon('type', 'video.gif', true),
mimeinfo_from_icon('type', 'avi.gif', true)
);
}
}