简体   繁体   English

无法通过响应式文件管理器上传媒体文件

[英]Cannot upload media files via Responsive File Manager

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 : 最近我开始在TinyMCE上使用响应式文件管理器工具作为插件,它起初看起来很完美,但经过一段时间我上传媒体类型的文件时遇到问题( movmpegm4vmp4avimpgwmaflv ...)抛出一个错误:

响应文件管理器抛出的错误

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...? 我不擅长复杂的编程水平,但我想,也许错误是由于尝试创建上传文件的缩略图(媒体类型)所产生的,有没有办法避免为mov创建缩略图,mpeg ,m4v,mp4,avi,mpg,wma,flv ......?

If need some extra details about anything please make me know. 如果需要一些关于任何事情的额外细节,请告诉我。 "Thank you before hand". “先谢谢你”。

add this line to mime_type_lib.php 将此行添加到mime_type_lib.php

'mp4' => 'video/mp4',

on line 100 在线100

this worked for me. 这对我有用。

Open filemanager/include/mime_type_lib.php and add 'mp4' => 'video/mp4', to the MIME types array. 打开filemanager / include / mime_type_lib.php并将'mp4' => 'video/mp4',到MIME类型数组中。 It will work. 它会工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM