title: PHP Video Source with Video.js Without Downloading Entire File First
body: <p>I am giving Video.js a source from PHP using:</p>
  <pre><code>header(&quot;Cache-Control: no-cache&quot;);
  header(&quot;Content-Type: video/mp4&quot;);
  header(&quot;Content-Transfer-Encoding: chunked&quot;);
  header(&quot;Accept-Ranges: bytes&quot;);
  header(&quot;Content-Length: $length&quot;);
  
  readfile(&quot;$url&quot;);
  exit;
  </code></pre>
  <p>However, the video will not start playing until it is fully downloaded. How can I get Video.js to commence playback immediately without waiting for file to fully download?</p>