Jump to content
xisto Community
Sign in to follow this  
contactskn

Streaming In Php

Recommended Posts

Dear friends I know the program to play a .swf video and we can handle the filename from MYSQL as a field, retrieve it by using PHP and use it to play the specified video.?? ? ?But I faced a problem recently and that is - I would like to save some video files in a folder say "vid" then want to play them one after another. The file names here may be saved in a MySql database.?? ? ? More over if possible I would like them to stream at a fixed time say 8 p.m. to 9 p.m. That is to say the videos or video should automatically start playing at the server side and end playing at 9 p.m. If possible it could not be interupted by any user. Please help me if possible. Thanks in advance dear friends.?

Share this post


Link to post
Share on other sites

Unless the files are uploaded to that directory, i don't see why you would want them copied (or moved) into that directory. That is, if you can nevertheless play them without moving them, then just add their file names to the database and (if you don't have one already) make a column that marks these files "special." Then make a script that loads on the front page (or wherever you want the video to play) that keeps track of server's time and that'll only display or "echo" the video player within that time. But due to what you want implies, this means that you'll have to find other methods of skipping ahead in the video if you want the video's play time to match the server's time. Otherwise, these videos will always start from the beginning whenever a user visits between 8 and 9 P.M..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.