PDA

Click to See Complete Forum and Search --> : HTML[Random video?]


|2eM!x
Oct 25th, 2005, 09:10 PM
okay i have this code for playing a video:
<div align="center">Memory - Sugarcult<div align="center"><div id=vpdiv><embed allowScriptAccess="never"style="FILTER: xray" name="RAOCXplayer" autoplay="true" src="video here" type="application/x-mplayer2" width="300" height="300" ShowC.."1" ShowStatusBar="0" AutoSize="true" loop="true" EnableC.."0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed></div><a href="http://www.webratsmusic.com/" target="blank"><BR><img src="http://images.webrats.com/clear.gif" border=0></a>
</div>
And i made a php script that will generate a random video url, how do i combine them so the html plays the random video? :wave:

ninjanutz
Oct 26th, 2005, 06:00 PM
put all the links into an array and have the other script call random array keys?

|2eM!x
Oct 26th, 2005, 06:10 PM
which ive done already,the php script works fine. Just wondering how i can return the link it makes in my video code

|2eM!x
Oct 28th, 2005, 04:11 PM
anyone know?