Move slider as audio plays

This commit is contained in:
dave 2014-08-28 22:45:18 -07:00
parent 6945923ee0
commit c6de7cd9eb
2 changed files with 5 additions and 4 deletions

View File

@ -62,9 +62,10 @@ div.slider.slider-horizontal {
width: 100%
}
#playerdrop > div.timeshow {
width: 15%
width: 10%;
text-align: center;
}
#playerdrop > div.time {
width: 65%;
width: 70%;
padding: 5px 8px 5px 20px;
}

View File

@ -161,8 +161,8 @@ var behaviors = {
play:function() {
},
timeupdate:function() {
console.log("Time update")
timeupdate:function(event) {
$(".time-holder .player-slider").slider('setValue', event.jPlayer.status.currentTime)
}
})