Both on Gingerbread 2.3 and iOS 4.2+ the HTML5 <audio>
tag generates an interface with next
, and previous
buttons.
How do I hook into those controls? It doesn't appear to be one of the HTML5 Media Events according to
What JavaScript events do they emit or do they send HTTP ICECast messages?
(No HTTP headers are sent on the button click)
For an example with screenshots, see https://coolaj86.com/demos/sandbox/html5-audio-tag.html
On Android:
- if you have gingerbread or better you'll see the controls in the webapp by default.
On iOS (iPhone, iPod, iPad):
- Begin playing the music sample on your iPod/iPad/iPhone
- Then click the button to "background" the app.
- Double click and swipe from left to right in the lower menu to access the player controls.
Note: play/pause
control does work more or less as expected (setting the appropriate Content-Range HTTP header helps)