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% width: 100%
} }
#playerdrop > div.timeshow { #playerdrop > div.timeshow {
width: 15% width: 10%;
text-align: center;
} }
#playerdrop > div.time { #playerdrop > div.time {
width: 65%; width: 70%;
padding: 5px 8px 5px 20px; padding: 5px 8px 5px 20px;
} }

View File

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