Web Hosting Talk







View Full Version : how do ppl stream video from video sites?


jjk2
05-15-2008, 10:11 PM
how do you stream videos from video sites such as yourfilehost.com ?

I understand that you would do something like

$html = file_Get_contents (http:.//asdfasdf.com/videoid=23423423)

and use regex to pull the actual file location

and play this in a JW player.


for example, im wondering how


WARNING ADULT CONTENT:
yourgf.com/001.htm works

it seems to grab the actual location of the flv on yourfilehost's cdn, and stream it through JW player...

but how does it do this without proxy ?

is this even legal? why is this guy allowed to do it ?

Padrone
05-19-2008, 11:42 AM
Not sure. There is a addon to firefox to download the video on the site.

The addon is called DownloadHelper

vibrokatana
05-19-2008, 12:02 PM
FLVs are "streamed" like a normal file. However you will need a server that supports seeking if you want users to be able to click, say in the middle of the player and not have to load the entire thing (lighttpd has mod_flv which can do this).

You can upload an FLV to virtually any server and use something like flowplayer to play the file.

As for the URL thing, the player just takes in the URL for the FLV to download it. If you know the location of the file then they can easily set up another player virtually anywhere.