Hey,<br><br>check your's /etc/nginx/mime.types file. And add the following line if missing in the types block:<br><span style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">video/mp4 mp4;<br>
<br><br>Ales<br><br clear="all"></span>------------------------------------------------------<br>Ales Zoulek<br>+420 604 332 515<br>Jabber: <a href="mailto:ales.zoulek@gmail.com">ales.zoulek@gmail.com</a><br>------------------------------------------------------<br>

<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 11:45 PM, Justin Dorfman <span dir="ltr"><<a href="mailto:jdorfman@netdna.com" target="_blank">jdorfman@netdna.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">Hello All,</pre><pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">
<br></pre><pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">I am noticing when I run curl on a MP4 file I get the application/octet-stream content type:</pre>


</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>curl -I <a href="http://192.168.3.117/videofile.mp4" target="_blank">http://192.168.3.117/videofile.mp4</a></div><div><br></div><div>

HTTP/1.1 200 OK</div>
<div>Content-Type: application/octet-stream</div></blockquote><div><br></div><div>Is there a reason why it wouldn't be <span style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">"video/mp4"?</span></div>


<div><br></div><div><pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">A few users have said "it is causing issues in players". (vague I know)</pre>


<pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word"><br></pre><pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">
Here is the vhost: <a href="https://gist.github.com/4b4e6e8ce2506d35b168" style="background-color:transparent" target="_blank">https://gist.github.com/4b4e6e8ce2506d35b168</a> (very long to paste in here IMO, if I am breaking a rule I am sorry, I will paste it in the email from now on)</pre>


<pre style="text-align:left;color:rgb(34,34,34);font-size:12px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word"><br></pre><pre style="text-align:left;margin-bottom:0px;margin-top:0px;word-wrap:break-word">
<font color="#222222"><span style="font-size:12px;white-space:pre-wrap">nginx version: </span></font><span style="background-color:transparent;font-size:12px;white-space:pre-wrap"><font color="#222222">nginx/1.2.0</font></span></pre>


<pre style="text-align:left;margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font color="#222222"><span style="font-size:12px;white-space:pre-wrap">configure arguments: --with-http_stub_status_module --with-http_ssl_module --with-http_secure_link_module --add-module=</span></font><span style="color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">/home/</span><font color="#222222"><span style="font-size:12px;white-space:pre-wrap">justin/ngx_cache_purge-1.5 --add-module=</span></font><span style="color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">/home</span><font color="#222222"><span style="font-size:12px;white-space:pre-wrap">/</span></font><span style="font-size:12px;white-space:pre-wrap;color:rgb(34,34,34)">justin</span><span style="font-size:12px;white-space:pre-wrap;color:rgb(34,34,34)">/ngx_mp4_module-0.9.4 --add-module=/home/</span><span style="font-size:12px;white-space:pre-wrap;color:rgb(34,34,34)">justin</span><span style="color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">/ngx_flv_</span><span style="color:rgb(34,34,34);font-size:12px;white-space:pre-wrap">module-0.9</span></pre>


</div><div style="text-align:left"><br></div><div style="text-align:left">Thanks in advance!</div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><br>

</span></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Reg</span>ards,</div><div><br></div><a href="http://www.twitter.com/jdorfman" target="_blank">Justin Dorfman</a><br><br><a href="http://www.netdna.com" target="_blank">NetDNA</a>™<br>


The Science of Acceleration™<br></span><br>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br>