andreasgal/j2me.js — pull request #770 by yxl (2014-12-22 10:11:51+00:00)
Title: Use audio element to play audio instead of the Audio API.

Audio API doesn't support AMR file on Firefox OS device, so I changed the implementation to use audio tag.
The new implementation fixes bug #758 to make `AudioPlayer::getMediaTime` returns the duration when the audio ends.

It also makes improvement on TestAudioPlayer to avoid intermittent test failure.