Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
seek(time) {
if (this.current_video) {
if (this.player.seekable) {
time = fromHumanTime(time) / 1000.0
logger.info("Seeking " + time)
this.player.seek(time)
}
else this.emit("message", "This video is not seekable")
}
}
jumpForward(distance = this.conf.jump_distance) {