Im trying to load a variable for five you tube videos to randomly grab one as a variable and display it on pageload
code:
<script> var vtube=new Array() vtube[0]='UT000008' vtube[1]='UT000008' vtube[2]='UT000008' vtube[3]='UT000008' vtube[4]='UT000008' var whichvtube=Math.floor(Math.random()*(vtube.length)) var vtubeselected=(vtube[whichvtube]) </script> <!--I use javascript to assign the videos into an array then select one randomly. I then attempt to pass the variable of the random selected video in the iframe -->