Headless flash-based mp3 player
Do you know any headless flash开发者_JAVA百科-based mp3 player scriptable trough javascript? I just need a public API to control playback (load, play, stop, seek) and a set of capturable events (onLoad, onPlay, onStop, onEnd). I need no UI, no helper scripts to embed the player, no support for playlists... and I'm spending so much time with no results.
I just need a fallback system for browsers that do not support HTML5 audio tag.
Do you have any recommendation?
SoundManager2 should do that fine.
Another, much more experimental option would be to take a look at GWT voices project and check how it interacts with Flash.
I made a small tutorial and two templates for a really tiny such mp3 player that I found.
The player's capabilites are:
- play
- pause
- stop
- loop on/off
Read here.
精彩评论