aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.html
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-09-18 16:00:43 +0200
committerstonedDiscord <Tukz@gmx.de>2021-09-18 16:00:43 +0200
commit60a9867a0551753101f5b4d692fa5a9ea77aba2a (patch)
tree6483a49bc243f5608f8588b1a554d6c103afb159 /webAO/client.html
parent856904681e07cdddc31ff3dbf35a15fa28191b9a (diff)
try to load opus versions of mp3 tracks if they are missing
Diffstat (limited to 'webAO/client.html')
-rw-r--r--webAO/client.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/client.html b/webAO/client.html
index dd036a6..a31938c 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -373,13 +373,13 @@
onchange="changeMusicVolume()">
<p>SFX</p>
- <audio id="client_sfxaudio" onvolumechange="changeSFXVolume()" controls></audio>
+ <audio id="client_sfxaudio" onvolumechange="changeSFXVolume()" onerror="opusCheck()" controls></audio>
<p>Shouts</p>
- <audio id="client_shoutaudio" onvolumechange="changeShoutVolume()" controls></audio>
+ <audio id="client_shoutaudio" onvolumechange="changeShoutVolume()" onerror="opusCheck()" controls></audio>
<p>Testimony/Guilty</p>
- <audio id="client_testimonyaudio" onvolumechange="changeTestimonyVolume()" controls></audio>
+ <audio id="client_testimonyaudio" onvolumechange="changeTestimonyVolume()" onerror="opusCheck()" controls></audio>
<p>Blip</p>
<input id="client_bvolume" class="long" type="range" min="0" max="1" value="1" step="0.01"