soiz1 commited on
Commit
5376ddf
·
1 Parent(s): af0ceb7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -5
index.html CHANGED
@@ -416,11 +416,8 @@
416
 
417
  <script>
418
  document.addEventListener('DOMContentLoaded', function() {
419
- // SoundTouchJSを動的にインポート
420
- if (!window.soundtouch) {
421
- soundtouch = await import('https://cdn.jsdelivr.net/npm/[email protected]/dist/soundtouch.min.js');
422
- window.soundtouch = soundtouch;
423
- }
424
  // 要素を取得
425
  const video = document.getElementById('video');
426
  const videoContainer = document.getElementById('video-container');
 
416
 
417
  <script>
418
  document.addEventListener('DOMContentLoaded', function() {
419
+ import * as soundtouch from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/soundtouch.min.js';
420
+ window.soundtouch = soundtouch;
 
 
 
421
  // 要素を取得
422
  const video = document.getElementById('video');
423
  const videoContainer = document.getElementById('video-container');