Shuffling and Repeating sounds

I’ve been unsuccessful in finding a tutorial on this. :frowning:

What’s the most efficient way to have music play, for example 3 songs, in random order (much like having the “shuffle” and “repeat” features simultaneously engaged in Windows Media Player) after a page loads?

Any help is GREATLY appreciated!

j