)
This commit is contained in:
parent
9c544ca46a
commit
58244bcd60
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ window.VideoPlayer = function(options) {
|
|||
that.querySelector('.controls .position input').addEventListener('input', event => {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
const value = Math.min(100, Math.max(0, parseFloat(event.target.value))
|
||||
const value = Math.min(100, Math.max(0, parseFloat(event.target.value)))
|
||||
setProgressPosition(value)
|
||||
var position = value/100 * self.options.duration
|
||||
displayTime(position)
|
||||
|
|
Loading…
Add table
Reference in a new issue