Search code examples
javascriptjqueryhtmlmp3

MP3 player for a website that will work on both web browsers and smartphones


I have a Flash MP3 player for a website that works on web browsers and Android but doesn't work on iPhones or Windows Phone. I know it's because iPhones don't support Flash and I presume that's also the reason it doesn't work on Windows Phone.

I can't just a HTML 5 MP3 players as that won't work on older browsers (and might not work on Android?). So do I need to use two separate players and decide which one to use based on the user's browser or is there a better solution such as a plugin that handles all this for me?

Basically, are there any MP3 player solutions that will handle both web browsers (version 7+ for IE) and smartphones?


Solution

  • How about http://mediaelementjs.com/