How to code mp3 file on webp page for Android Froyo 2.2?

I have tried HTML 5 tag and that does not work. I have also tried jPlayer and that does not work as well. I need a mp3 player that will play on Froyo 2.2. Any suggestions or direction would be very appreciated.

Answers


jPlayer just makes the <audio> tag for you, so both of those are attempting to do audio through HTML5, which the FroYo browser does not support (Gingerbread does, though). The easiest way to play the audio would be to make the audio into a Flash video and insert it that way.


jPlayer's default Solution parameter (html5, flash) does not reliably fallback to use its Flash player in Android 2.2 and higher. At least in those versions of Android the device gives jPlayer a false positive indicator that it supports html5 and, so, the Flash fallback is never called. To make jPlayer work for the Android just revers the default order in the Solution parameter to flash, html5. jPlayer then just grabs the Flash player and runs the media.

The iPhone, given that it doesn't support Flash, will simply fail on the Flash parameter and fallback to HTML5 as it should.


Need Your Help

Magento: Use Web Server Rewrites is broken

.htaccess magento url-rewriting

Some time importing a project on my local machine it happens that the Use Web Server Rewrites feature doesn't works.

Possible to host ASP.NET MVC controllers+views within a webforms project…?

asp.net asp.net-mvc legacy technical-debt hybrid

We have a legacy ASP.NET webforms application that we're engaged in stabilising and removing technical debt from. Is it possible to take a hybrid approach - ie, can ASP.NET MVC coexist with webforms