You are here: Re: Mpg movie stops playing in browser « PHP Programming Language « IT news, forums, messages
Re: Mpg movie stops playing in browser

Posted by Oli Filth on 09/28/13 11:37

d said the following on 16/01/2006 12:39:
> "Oli Filth" <catch@olifilth.co.uk> wrote in message
> news:MxLyf.7267$C7.3184@newsfe3-win.ntli.net...
>> askMe said the following on 16/01/2006 01:04:
>>> David Wahler wrote:
>>
>>>> If you can't get the video to play properly in a static HTML page, PHP
>>>> is going to be of no use to you.
>>> The video works. The mpg is embedded. It cuts off due to a timeout
>>> limitation in PHP's default server settings.
>> Please explain how you think that a PHP timeout setting (which controls
>> the maximum length of time PHP will execute a script before timing out)
>> has an effect on the client playing a video?
>
> If the MPG is being streamed through a php script, then if the script times
> out before it's sent all the data, the video will stop.

This is true - however, in one of the OP's posts, (s)he stated that
(s)he's "using ... php only for the name of the clip to play ...
src=../videos/$video". So I'm assuming this isn't the case.

But, if it indeed is the case, then set_time_limit() is the solution,
assuming PHP is not running in safe mode.


--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация