Streaming Video - Secure

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Two questions for you all..

Firstly, is there a way of streaming video using PHP? At the moment I just  
have a link to a video file and the whole thing downloads before playing  
which is a bit of a chore as the video file is pretty huge.

Secondly, I want to restrict access to the video using a password. Can  
anyone think of a nice way of doing this? I thought about having the video  
embedded into a page and when the page loads it checks if a user is logged  
in and if not goes back to the login page, but that doesn't restict access  
to the actual video, IE: They can view source, find the Video link and  
simply copy it into a browser window...

I look forward to your answers/advice


Re: Streaming Video - Secure

PHP or not you should try VideoVista .

It plays virtually on any webserver regardless script language or
dedicated server.
Anyway using PHP you can achieve good user interaction with it.

Hope this could help you.



Quoted text here. Click to load it

Re: Streaming Video - Secure

SPG wrote:
Quoted text here. Click to load it

Aside from PHP and the password issue, with most video types like .wmv,
.ram, etc, you can achieve a sort of pseudo-streaming effect without
having to go to a true streaming server by setting your mime and file
types properly so the web browser immediately passes the url off to the
video player app rather than trying to download the file.  (For example,
with Realvideo types you can create a meta-file which only contains the
url of the actual video; so the browser downloads the (tiny) metafile
and gives it to Realplayer which then "streams" the actual video.)

There's also other media types which handle their own internal
streaming, like Flash.

Site Timeline