- Impact
- 4
<?php
$videos = array();
$videos[] = 'abcdefghijk';
$videos[] = 'dajidjadas';
/* etc */
$vid = array_rand($videos);
?>
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/<?php echo $vid; ?>"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<?php echo $vid; ?>" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
u mean have them posted up randomly as blog entries?pixelbugnyc said:I have a spot on my blog where I post you tube videos I find interesting each day. It would be great if there was a way to randomly play you tube videos from a list of you tube links i manage. Does anyone have a script that can do this? Thanks.

