mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-16572 - avi files were not detected as PORTFOLIO_FORMAT_VIDEO
This commit is contained in:
parent
3bfb1f59cd
commit
d02b207a21
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user