I am building a php-based website. I want when the main page loads, then play a random song from a folder of songs. there should be a play, pause, stop control for the song. a flash player would do that. but i cannot find a suitable one. can anyone give me an idea?
Share
There are many utilities available to do this. One of the more popular ones (that I have used before) is JWPlayer. It has a large set of features and even has a wizard to help with setup. Additionally, it is beginning to support HTML5 (assuming you are playing an HTML5-compatible file and your client is using a browser that supports HTML5 – otherwise, it will fall back to Flash).
Just a note: This player is free (and open-source, as far as I can remember), but the licensing can be odd (for example, use on commercial websites might require payment).