mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 08:58:13 +01:00
[IN TESTING] attempt to fix #106
This commit is contained in:
parent
edf8991914
commit
769a6dea2d
1 changed files with 3 additions and 6 deletions
|
@ -982,8 +982,8 @@ function cstsRemaining(totalTimeInSeconds, elapsedTimeInSeconds) {
|
|||
aud.addEventListener("canplaythrough", shouldPlay);
|
||||
vid.addEventListener("canplaythrough", shouldPlay);
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
<script>
|
||||
const audioContext = new (window.AudioContext || window.webkitAudioContext)();
|
||||
const source = audioContext.createMediaElementSource(aud);
|
||||
const analyser = audioContext.createAnalyser();
|
||||
|
@ -1022,9 +1022,6 @@ function checkAudio() {
|
|||
|
||||
// Check audio every second
|
||||
setInterval(checkAudio, 1000);
|
||||
</script>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<% if(shortsui) { %>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue