SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Play random YouTube video (noob question)

    Dear all,

    I'm new hear, and fairly new to website design - apologies for any unintentional feather-ruffling.

    I'm using Dreamweaver CS4. I would like a button which, when clicked, plays an embedded YouTube video. The catch is, I would like it to be a randomly selected video from a list (of maybe 20 or so), and to start playing automatically.

    I have just about learned how to embed a YouTube video, but not how to pick a random one from a list.

    Any advice from a patient expert appreciated!

    Thanks,
    Paul

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Hi PaulDear. Welcome to the forums.

    What you are asking fr would require some scripting, so I've move this to the JS forum.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Hi PaulDear. Welcome to the forums.

    What you are asking fr would require some scripting, so I've move this to the JS forum.
    Thanks, Ralph.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •