hello,
i can find a script nowhere.
i want to make a custom script that plays youtube videos for every day.
something like this one
ill insert all the youtube video links in a php file,
and for each video a date 28-02-2010
and then every day to select the apropriate video from that list.
any idea?
thank you for your time!
$slot_imgs = array( '559' => 'http://www.993thebuzz.com/onair-generic.jpg',
'959' => 'http://www.993thebuzz.com/onair-generic.jpg',
'1459' => 'http://www.993thebuzz.com/onair-rob.jpg',
'1859' => 'http://www.993thebuzz.com/onair-mike.jpg',
'2259' => 'http://www.993thebuzz.com/onair-dia.jpg',
'2359' => 'http://www.993thebuzz.com/onair-generic.jpg');
$time_now = (int) (date('G') . date('i'));
foreach ($slot_imgs as $time_slot => $img) {
if ($time_now <= $time_slot) {
echo '<img src="' . $img . '">';
break;
}
}