Don't load audio if banner isn't loaded
This commit is contained in:
parent
ff086bc629
commit
6bf75d3a66
@ -7,12 +7,12 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="/css/swagg.css">
|
<link rel="stylesheet" type="text/css" href="/css/swagg.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<% unless (session('banner') eq 'seen') { %>
|
||||||
<!-- Soundtrack -->
|
<!-- Soundtrack -->
|
||||||
<!-- <embed> doesn't work anymore SAD
|
<!-- <embed> doesn't work anymore SAD
|
||||||
<embed src="/misc/Smashmouth_-_All_Star.mid" width="100%" height="60">-->
|
<embed src="/misc/Smashmouth_-_All_Star.mid" width="100%" height="60">-->
|
||||||
<audio id="soundtrack" src="/Music/Smashmouth-All-Star.mp3" preload="auto">
|
<audio id="soundtrack" src="/Music/Smashmouth-All-Star.mp3" preload="auto">
|
||||||
</audio>
|
</audio>
|
||||||
<% unless (session('banner') eq 'seen') { %>
|
|
||||||
<!-- "GDPR" banner -->
|
<!-- "GDPR" banner -->
|
||||||
<div id="gdpr">
|
<div id="gdpr">
|
||||||
<b>Notice:</b> This site uses kickass MIDI technology instead of cookies.
|
<b>Notice:</b> This site uses kickass MIDI technology instead of cookies.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user