mime mp4 m4v other video formats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DEPRECATED Pantheon |
Fix Released
|
Undecided
|
Aaron Levy |
Bug Description
Hi,
Having a lot of issues with video file formats on the 1.1 install w/ Ubuntu 10.04.
Here is one of the example videos that I am using and having problems with
http://
I use the firefox addon download helper to get the file.
I have it uploaded here on my test server:
http://
The server sends no data when downloading this file. I tried to add mp4 or m4v options to the server to the mercury confi file (/etc/apache2/
SetEnvIfNoCase Request_URI \.avi$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mov$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mp4$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.m4v$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.ogg$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.ogv$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.rm$ no-gzip dont-vary
This does nothing for me.
Any help on this issue would be huge.
Thanks!
Changed in pantheon: | |
assignee: | nobody → Aaron Levy (aaronlevy) |
status: | New → Fix Released |
Got Video working, Thanks to Aaron on the #pantheon IRC Chat.
Had to pipe in mp4:
<code> default. vcl
sudo nano /etc/varnish/
</code>
Add:
<code>
// No varnish for video
if (req.url ~ "\.mp4") {
return (pipe);
}
</code>
Restart Varnish:
sudo /etc/init.d/varnish restart
Have a feeling that I will need to add more to this. Not too hard to do that though. Example for adding m4v (req.url ~ "\.mp4|\.m4v") should do it.