Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the lazy ones, here's a copy-paste to add a download-link:

  $('#extras').append("<a href='"+$('#player').data('jPlayer').status.src+"'>Download</a>");
(Only for the currently playing song, there's probably an event to hook it up to the playlist switching songs.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: