You have chosen to sponsor your bid up to a maximum amount of .
I have a swf [flash] video play list in a mysql data table. [see attached table image]
Now i want to play specific video at specific time from the list on a php page.
Example : [ refer sql table image ]
now there is 3 videos :
video - A, video - B & video - C [ see title column ]
unique_name = for use as id [unique code for video file]
file_name = swf file names [i will tell directory path later]
duration = video length [seconds]
start_time = particular video starting time.
So now i want to play "video - A" from 06:00:00 (6.00 am) [see start_time column] to 6.05 am [300 sc duration]
after 6.05 am play a "default.swf" video, [if this video duration only 10 min, loop it again and again up-to reach next video time ]
then play "video - B" from 12:00:00 (12.00 pm) [see start_time column] to 12.10 pm [600 sc duration]
after this time [12.10pm] play default.swf video.
then play "video - C" from 18:00:00 (6.00 pm) [see start_time column] to 6.20 pm [1200 sc duration]
after this time [6.20pm] play default.swf video.
IMP : if a user open website at 6.04 am, he can watch "video A" only till 6.05am (60 sc), because that video running time end at 6.05 am. [he watch videos beginning 1 min ], video changes to "default.swf" at 6.05 am automatically. this is apply to all time.
at a same time user if open website at 05.59am, he can watch 1 min default.swf video. after 1 min [mean 6.00 am] turn video to "video A".
overall website aim, a user want to watch "video A", he must login our website at sharp 06.00am or before, otherwise he not get this this video.