soiz1 commited on
Commit
6c32af3
·
verified ·
1 Parent(s): a8ad5c8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -880,7 +880,7 @@ function setupFramePreview() {
880
 
881
  // フレームを取得
882
  VideoForThumbnail.currentTime = previewTime;
883
-
884
  VideoForThumbnail.addEventListener('seeked', function() {
885
  canvas.width = VideoForThumbnail.videoWidth;
886
  canvas.height = VideoForThumbnail.videoHeight;
 
880
 
881
  // フレームを取得
882
  VideoForThumbnail.currentTime = previewTime;
883
+ VideoForThumbnail.crossOrigin = 'anonymous';
884
  VideoForThumbnail.addEventListener('seeked', function() {
885
  canvas.width = VideoForThumbnail.videoWidth;
886
  canvas.height = VideoForThumbnail.videoHeight;