I need to have a wmv video playback in the center of a homepage. I will have a folder full of video clips, and would like to generate random playlists using PHP that would play in that central section. So, when the page loads, a random video will play and when it completes, another random video will play, etc.
Using similar PHP that generates random text/html on a page, I'm able to generate 1 random video or 1 pre-determined playlist. But I cannot think of a way to generate a random playlist each time the page refreshes. I could create a bunch of pre-determined playlists and randomly load them into the page, but I'm trying to avoid this hack.
Also, I'd prefer to not to use a MySQL database for this (text file, etc. would be okay)
Although this isn't quite what I'm looling for, the following link shows the syntax to embed a static playlist into a page: http://www.webdeveloper.com/forum/showt ... hp?t=68571 <-- this is on the right track, but not dynamic/random.
Any help is appreciated