Hey i need creat a simple player in html 5, i create de control, play, pause,
but i need a progress bar with interation
this example is a interarion bar, but i need click and this move to music time
$('.clickable').bind('click', function (ev) {
var $div = $(ev.target);
var $display = $div.find('.display');
var offset = $div.offset();
var x = ev.clientX - offset.left;
$('.progress').width(x);
});
$("#pause").click(function() {
audioElement.pause();
});