A simple HTML5 music player capitalising on the History API

이용 기술 HTML5, Drag and Drop, Audio, Files, Offline Support,

  • 조회수 120회
  • 댓글수 0건

현재 데모에 대한 개발자 댓글

A simple HTML5 music player capitalising on the History API which, for various reasons, only works in gecko based browsers (i.e. Firefox, Firefox Mobile). (Ok, if you really want to know why – it’s because Chrome (or rather, WebKit) has an insane implementation (IMO) of window.onpopstate which causes my little app to send itself in infinite loops, and because other browsers don’t support things like the File API, etc.) and only plays files playable in your browser via the <audio> element.

Known problems (based on personal testing): opening via DnD on my (Linux) netbook takes ages (and the browser hangs) and opening via file prompt on my (Windows) desktop just plain doesn’t work.

Licencing: licenced under the WTFPL, but as the MDN doesn’t have a WTFPL option also in the Public Domain where legally allowed (though WTFPL is much funnier).

If you have a fix to any of these problems, you find some of your own, or just wanna improve on my code, please fork it on github and then send me a pull request, thanks! :D

아직 댓글이 없습니다.

새로운 데모를 추가하려면 로그인하십시오.

About this Demo

소스 다운로드 3.6 KB · ZIP 파일

Browse the Source

현재 데모는 Public Domain (where applicable by law) 라이센스 하에 공개되고 있습니다.