Change slider length set method
This commit is contained in:
parent
7a08f5ee06
commit
c501e98c84
|
@ -152,7 +152,7 @@ var behaviors = {
|
|||
loadedmetadata: function() {
|
||||
console.log($("#player").data("jPlayer").status.duration)
|
||||
|
||||
$(".player-slider").data("slider-max", parseInt($("#player").data("jPlayer").status.duration+1)).slider()
|
||||
$(".player-slider").attr("data-slider-max", parseInt($("#player").data("jPlayer").status.duration+1)).slider()
|
||||
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue