Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts

    stream.php page does not stream videos that seem to be over 8mb

    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");
    Last edited by Lyconpire; 02-06-2007 at 11:45 AM.

  • #2
    Regular Coder meth's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Thanks
    0
    Thanked 9 Times in 9 Posts
    Is this solely a stream file size error or does it only happen with certain formats as well?
    I do Web Design, Brisbane based.
    More time spent in PHP/MySQL Web Development.
    And Search Engine Optimisation takes up the rest of it.

  • #3
    Registered User
    Join Date
    Jul 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it seems to be file size only mpg's and wmv play fine when they are low in size.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •