I am creating a streaming video site. The idea is that customers have to pay for membership, log in and watch the video. I am going with FlowPlayer to show the actual videos.
Now the problem is that the video needs to be stored somewhere publicly, and the URL of the .flv files must be passed to flowplayer so that it can display them. This creates a problem because anyone can use the source of the view, download the video and distribute it all over the Internet.
I know that some people serve images using php, creating a header() image, and then they can do something like:
<img src="image.php?userId=1828&img=test.gif" />
The PHP script checks the user ID and serves the .gif file, and the actual gif url is never displayed.
Is there a way to do this with .flv or any other video format? For example, the file and user ID passed in to the PHP script, does it check them and return the video?
Click upvote
source share