I have an embedded Vimeo video on my homepage (In the index.php template file) and I am using their embed code which makes use of iframes. (I target the iframe in my video menu underneath, so that works well for what I'm doing.)
I'd like that video area, the iframe, to display one of three different videos (randomly chosen) when you load the page. When you refresh the page a different video, presumably, would load.
I think what I need is some Javascript that, for this one little section of my site, will choose between 3 different code snippets (3 different vimeo embeds) every time the page loads, but I'm a bit of newbie at Javascript and at a loss of how to do this.
Does anyone have any suggestions? Am I barking up the wrong tree?
Thank you for any help!