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!


Hi PaulDear. Welcome to the forums. :slight_smile:

What you are asking fr would require some scripting, so I’ve move this to the JS forum. :slight_smile:

Thanks, Ralph.