Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -721,7 +721,7 @@
|
|
721 |
// プログレスバーのイベントリスナーを更新
|
722 |
progressContainer.addEventListener("mousemove", (e) => {
|
723 |
if (!video.duration) return;
|
724 |
-
|
725 |
const rect = progressContainer.getBoundingClientRect();
|
726 |
const pos = (e.clientX - rect.left) / rect.width;
|
727 |
const time = pos * video.duration;
|
|
|
721 |
// プログレスバーのイベントリスナーを更新
|
722 |
progressContainer.addEventListener("mousemove", (e) => {
|
723 |
if (!video.duration) return;
|
724 |
+
const previewVideo = document.getElementById("previewVideo");
|
725 |
const rect = progressContainer.getBoundingClientRect();
|
726 |
const pos = (e.clientX - rect.left) / rect.width;
|
727 |
const time = pos * video.duration;
|