Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -415,9 +415,9 @@
|
|
415 |
</div>
|
416 |
|
417 |
<script>
|
418 |
-
|
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');
|
|
|
415 |
</div>
|
416 |
|
417 |
<script>
|
418 |
+
import * as soundtouch from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/soundtouch.min.js';
|
|
|
419 |
window.soundtouch = soundtouch;
|
420 |
+
document.addEventListener('DOMContentLoaded', function() {
|
421 |
// 要素を取得
|
422 |
const video = document.getElementById('video');
|
423 |
const videoContainer = document.getElementById('video-container');
|