[Mediawiki-l] SWF-file uploading to mediawiki

tt tt trade_with_trust at yahoo.co.jp
Wed May 24 06:04:47 UTC 2006


Hello, masters of mediawiki  !  

 

I would like to add swf ( or flash )file on my mediawiki. I saw some comments and 

knew some one already succeeded to do this. But I tried to do this whole day, I couldnt.

Please tell me how to upload swf file ?   

 At the privious post below, it is said small size of swf can be uploaded. 

 My swf is so small. But I can not.... 

 

  --- original post ---
I am not able to upload large windows media video (wmv) files to a MediaWiki
1.5.5 running on php 4.3.10-16 and MySQL 4.0.24_Debian-10sarge1-log.

In testing, I am able to upload small wmv files (<3meg). 

When I try with large ones, I either (a) the page waits for a few minutes
(while status bar in IE slowly grows) and then appears to refresh with no
error (and no file uploaded) or (b) IE shows "this page cannot be displayed'

The uploads directory is writable.

I can upload other images, mp3 files (tested successfully 10 meg), swf or
fla flash files (tested >7megs) and these appear perfectly.

I've tried increasing the php.ini settings: memory_limit = 16M;
upload_max_filesize = 12M; post_max_size = 12M;  I have also increased the
time allowed for scripts to run and load. 

I added to LocalSettings.php: 
   $wgFileExtensions = array('gif', .. The others already there. 'wmv');
   $wgVerifyMimeType = false;

When I look at a small wmv (<3meg) file I successfully uploaded, the mime
type is text/plain (which seems odd, mp3 files are properly identified)

Any ideas? Could it be the codec I used to encode the wmv file? (I used
camtasia - this is for video based training in our internal company wiki).

Thanks!




 



More information about the MediaWiki-l mailing list