<?
$video=array("1","2",);
$a=rand( 1,count($video));
echo' '.$a.' ';
?>umarım işinize yarar.
Bu malesef olmadı.
En basit olarak bunu videoyu gostermek istedigin yere koy:
<script type="text/javascript">
var videolarim = new Array (
'<embed src="http://www.metacafe.com/fplayer/1629763/pranks_with_water_during_3_minutes.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"> </embed><br><font size = 1><a href="http://www.metacafe.com/watch/1629763/pranks_with_water_during_3_minutes/">Pranks with Water During 3 Minutes</a> - <a href="http://www.metacafe.com/">The best video clips are here</a></font>',
'<embed src="http://www.metacafe.com/fplayer/1270075/a_history_of_the_united_states_in_3_minutes.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"> </embed><br><font size = 1><a href="http://www.metacafe.com/watch/1270075/a_history_of_the_united_states_in_3_minutes/">A History of the United States in 3 Minutes</a> - <a href="http://www.metacafe.com/">More bloopers are a click away</a></font>'
);
document.write (videolarim[Math.round (Math.random ()) % videolarim.length]);
</script>
Teşekkürler kardeş.Oldu.
Aklımdasın repini bol bol vereceğim.
Teşekkür ederim 2 nize de.