Uploadify refuses to upload WMV, FLV and MP4 files

旧时模样 提交于 2019-12-24 10:59:03

问题


The uploadify plugin for JQuery seems very good and works for most file types. However, it allows me to upload all file types apart from the ones I need.

Uploads of any other type work.

  • I have already tried changing the fileExt parameter and also tried removing it altogether.
  • I have testing in Google Chrome, IE7 and Firefox and none work for these file types.
  • I have a ton of local projects already and uploading is not an issue on any other project, I even use the same example files (This is the first time I have used Uploadify)

Is there a known reason for this behaviour?

EDIT: Have found the issue. I had forgotten to add my usual .htaccess file to the example project which amends PHP to allow large file sizes. I will hang my head in shame for the rest of the day.


回答1:


I am ashamed to admit that I did not follow the list of dumb things to check.

The issue was actually because my php upload setting was set too low.

I have now added this to my php ini:

upload_max_filesize = 1024M
post_max_size = 1024M

I use a .htaccess file on all my projects but obviously forgot to add it when setting up this uploadify example.



来源:https://stackoverflow.com/questions/2492155/uploadify-refuses-to-upload-wmv-flv-and-mp4-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!