soiz1 commited on
Commit
7b7ab7c
·
verified ·
1 Parent(s): 364f7cd

Update index.html

Browse files
Files changed (1) hide show
  1. 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;