Move slider as audio plays
This commit is contained in:
parent
6945923ee0
commit
c6de7cd9eb
|
@ -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;
|
||||
}
|
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue