diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 4f07d2d8..3a873be8 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -715,7 +715,7 @@ export default { }, setupSeekbarPreview() { if (!this.video.previewFrames) return; - let seekBar = document.querySelector(".shaka-seek-bar-container"); + let seekBar = document.querySelector(".shaka-seek-bar"); // load the thumbnail preview when the user moves over the seekbar seekBar.addEventListener("mousemove", e => { const position = (e.offsetX / e.target.offsetWidth) * this.video.duration;