html5 - Problems to reproduce Weight Video buffering php on Chrome -


i have problems reproduce weight video (400mb or more) in chrome. in opera , mozilla firefox works.

during "streaming", cant navigatintg site, "charging".

my script is: http://codesamplez.com/programming/php-html5-video-streaming-tutorial

i tried increment buffering, not works.

the videos root folder , have access header.

i have problems script download videos too, cant navigatintg site, "charging" :

$local_file = $url; $download_file = $url;  // set download rate limit (=> 20,5 kb/s) $download_rate = 140; if(file_exists($local_file) && is_file($local_file)) {     header('cache-control: private');     header('content-type: application/force-download');     header('content-length: '.filesize($local_file));     header('content-disposition: filename='.basename($download_file));      flush();     $file = fopen($local_file, "r");     while(!feof($file))     {         // send current file part browser         print fread($file, round($download_rate * 1024));         // flush content browser         flush();         // sleep 1 second         sleep(1);     }     fclose($file);} } 

thx you.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -