fix for audio element
Cette révision appartient à :
Parent
c0b8bb23e8
révision
883f209c7c
1 fichiers modifiés avec 2 ajouts et 4 suppressions
|
@ -55,13 +55,12 @@
|
|||
{{if Mascot != "hide"}}
|
||||
<div id="mascot" class="hide-xs{{if MascotURL != ""}} custom-mascot{{end}}" onclick="playVoice();" {{if MascotURL != ""}}style="background-image: url('{{MascotURL}}');"{{end}}></div>
|
||||
{* Only play the sounds with the default mascot *}
|
||||
{{ if MascotURL != "" }}
|
||||
{{ if MascotURL == "" }}
|
||||
{{ if Sukebei() }}
|
||||
<audio id="kawaii" hidden preload="none">
|
||||
<source src="https://a.doko.moe/spbyif.mp3" type="audio/mpeg">
|
||||
</audio>
|
||||
{{else}}
|
||||
{{ if Theme == "tomorrow" }}
|
||||
{{else if Theme == "tomorrow" }}
|
||||
<audio id="explosion" hidden preload="none">
|
||||
<source src="https://a.doko.moe/vrlrtw.mp3" type="audio/mpeg">
|
||||
</audio>
|
||||
|
@ -70,7 +69,6 @@
|
|||
<source src="https://a.doko.moe/sewang.mp3" type="audio/mpeg">
|
||||
</audio>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
|
Référencer dans un nouveau ticket