Cannot upload media files via Responsive File Manager

1.8k views Asked by At

Recently I started using Responsive File Manager tool as a plugin on TinyMCE, and it looked perfect at first but after some time I'm having problem uploading files of media type (mov, mpeg, m4v, mp4, avi, mpg, wma, flv...) throws an error :

Error thrown by the Responsive File manager

Just my opinion:
I'm not good at complex level of programming but I think, maybe the error is generated by the attempt to create a Thumbnail of the uploading file (media type) so, is there any way to avoiding the creation of Thumbnails for mov, mpeg, m4v, mp4, avi, mpg, wma, flv...?

If need some extra details about anything please make me know. "Thank you before hand".

2

There are 2 answers

0
Osiris On

add this line to mime_type_lib.php

'mp4' => 'video/mp4',

on line 100

this worked for me.

0
Mahdi Nasrabadi On

Open filemanager/include/mime_type_lib.php and add 'mp4' => 'video/mp4', to the MIME types array. It will work.