|
I'm trying to figure out how to make it where I can have random rotating YouTube videos. I copy the embed code on YouTube, and currently paste it into my site. Soo easy, woo, I get a cookie!
Now the question is, how do I set it up in php where I call to a file that has a list of 10-20-30-1000 embedded YouTube video codes that by random places the video on the site. Each time page refrehses, new random video.
I know this is possible with images and text, but I cannot figure it out with YouTube.
Thanks all!
|