Jump to content

hotwheels

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by hotwheels

  1. Right on and thanks for the quick response, this site is awesome......
  2. another quick question, this one is about the actual java randomizing.........should i have a myvideos[0], or will the script understand that it's randomizing without it......?
  3. jnutt, thank you very much for looking at the code. I have been working on that for the last 3 day's now.....Simply amazing............
  4. I have been doing alot of reading here and found this code: <script language="JavaScript" type="text/javascript"> function videoload(videoloc){ myref=window.open(videoloc,'Reddwarf','height=350,width=425, resizable=0,location=0,status=0,menubar=0,copyhistory=0'); myref.focus(); }</script><input type="button" value="Next" name="Next" onClick="videoload('http://www.youtube.com/v/8W89CFS3pU4');"><input type="button" value="other" name="Next" onClick="videoload('http://www.youtube.com/v/VoXBQjTF1LE');"> This almost does what i am trying to do, but instead of having the video player it has the word's "next" and "other".....
  5. Hello everyone, i have a question and hope someone can help point me in the right direction.What i am trying to do is use embedded video code from like youtube.com and set it up so that my player on my home page, will refresh to a new video. Kind of like random images.I have tried using a basic random image file: <td align="center"><a href="http://www.yoursite.com/forum"> <script language="JavaScript"> <!-- function random_imglink(){ var myimages=new Array() myimages[1]="http://www.yoursite.com/image1.jpg" myimages[2]="http://www.yoursite.com/image2.jpg" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<img src="'+myimages[ry]+'" border="2" alt="" /><hspace="25" vspace="25">') } random_imglink() //-->" </script></a></td> But when i install the link information, it doesn't show anything: <td align="center"><object> <param name='allowScriptAccess' value='sameDomain' /> <param name='movie' value='http://www.youtube.com/v/RIW_K-YrEIQ' /> <param name='flashVars' value='http://www.youtube.com/v/RIW_K-YrEIQ' /> <param name='quality' value='high' /> <param name='bgcolor' value='#686F7E url(http://www.insanemustangs.com/forums/images/gradients/Slate.jpg)' /> <embed src="http://www.youtube.com/v/RIW_K-YrEIQ" type="application/x-shockwave-flash" wmode="transparent" width="125" height="150" quality='high' bgcolor='#686F7E url(http://www.insanemustangs.com/forums/images/gradients/Slate.jpg)' name='' align='center' allowScriptAccess='sameDomain' pluginspage='http://www.macromedia.com/go/getflashplayer' /> </object></td> So let's say i want to be able to show 2 video's from youtube, and i run this code: <td align="center"><object> <param name='allowScriptAccess' value='sameDomain' /> <param name='movie' value='http://www.youtube.com/v/RIW_K-YrEIQ' /> <param name='flashVars' value='http://www.youtube.com/v/RIW_K-YrEIQ' /> <param name='quality' value='high' /> <param name='bgcolor' value='#686F7E url(http://www.insanemustangs.com/forums/images/gradients/Slate.jpg)' /> <H4>VIDEO1</H4> <embed src="http://www.youtube.com/v/RIW_K-YrEIQ" type="application/x-shockwave-flash" wmode="transparent" width="125" height="150" quality='high' bgcolor='#686F7E url(http://www.insanemustangs.com/forums/images/gradients/Slate.jpg)' name='' align='center' allowScriptAccess='sameDomain' pluginspage='http://www.macromedia.com/go/getflashplayer' /> <H4>VIDEO2</H4><embed src="http://www.youtube.com/v/1iqOkrnJQjQ" type="application/x-shockwave-flash" wmode="transparent" width="125" height="150" quality='high' bgcolor='#686F7E url(http://www.insanemustangs.com/forums/images/gradients/Slate.jpg)' name='' align='center' allowScriptAccess='sameDomain' pluginspage='http://www.macromedia.com/go/getflashplayer' /> </object></td> I get the 2 video's in a line, and each is viewable, but not randomly......if that make's any sense?If you go to my home page, you can see what i am talking about www.insanemustangs.com , then just scroll down and look on the left hand side of the page, you will see my video box......it does work, but i would really like to just use one video box and have the video change during a page refresh...Thanks in advance to anyone that is able to help me figure this one out.........I would really appreciate the help....hotwheels
×
×
  • Create New...