added on click listeners on comments
This commit is contained in:
@@ -26,12 +26,10 @@ class VideoPlayer {
|
||||
}
|
||||
}
|
||||
// Posouvání ve videu
|
||||
skipAhead() {
|
||||
skipAhead(skipTo) {
|
||||
const progressBar = document.getElementById("progress-bar");
|
||||
const video = document.getElementById("video");
|
||||
|
||||
let skipTo = this.value;
|
||||
|
||||
video.currentTime = skipTo;
|
||||
progressBar.value = skipTo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user