...

View Full Version : stream.php page does not stream videos that seem to be over 8mb



Lyconpire
02-06-2007, 11:36 AM
not sure why it seems to play fine on 5-7 meg videos i have control over php.ini so it can't be my host? Maybe it's my headers? you can look at the problem if you go to the url in my sig.

i just tried header('Content-Type: application/octet-stream');

i seem to be getting all the videos stopping then playing again at the start as well? it's set to auto play?

php.ini - config

;;;;;;;;;;;;;;;;;;;;;;;;;;
; php.ini user override ;
;;;;;;;;;;;;;;;;;;;;;;;;;;

max_execution_time = 900
max_input_time = 900
memory_limit = 100M
post_max_size = 100M
upload_max_filesize = 100M
magic_quotes_gpc = on


stream.php - headers

header("Content-length: $file_size");
header("Content-type: $file_type");
header("Content-Type: video/x-ms-wmv");

meth
02-06-2007, 02:22 PM
Is this solely a stream file size error or does it only happen with certain formats as well?

Lyconpire
02-06-2007, 02:27 PM
it seems to be file size only mpg's and wmv play fine when they are low in size.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum