WMV file problems

exothermic

Joined: 2003-01-23
Posts: 7
Posted: Sun, 2005-01-23 21:06

I have uploaded a large video file to my gallery .wmv. When I click on the video link with IE it plays fine with WMP, but when I click on it via firefox, it just starts to download text to the browser. I have a feeling there is fix on the server side as well as client side, but since I can't control every client, server side seems like the obvious fix. I can right click save as etc, but that isn't clean.

Also the video won't thumbnail like other vids that i have uploaded in the past. This is a WM9 file.

Thanks

----

Gallery version: Gallery v1.4.4-pl4
Apache version: Apache/2.0.46 (CentOS)
PHP version 4.3.2
Graphics Toolkit: Imagemagic
Operating system: CentOS
Web browser/version (if applicable): Firefox 1.0

Login or register to post comments
DigitalParasite

Joined: 2005-09-16
Posts: 13
Posted: Sat, 2006-03-25 02:49

In CentOS, you need to edit your Apache config file to tell FireFox (and other browsers what kind of mime type a WMV file is).

Edit the file:
/etc/httpd/conf/httpd.conf

Add the line:
AddType video/x-ms-wmv .wmv

Save and restart your Apache server.

Login or register to post comments