fixed graphic and added preload attribute for audio

master
Jordan Han 2020-02-09 21:24:35 +08:00
parent 97ee2f1538
commit 922c49b5fd
3 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -21,7 +21,7 @@
-moz-appearance: none; -moz-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
transform: skew(30deg) rotate(-30deg); transform: skew(30deg) rotate(-30deg);
background-image: asset_url("Neon_Cube_01_190513_v01-02.png");; background-image: asset_url("Neon_Cube_01_200209_v02-02.png");
padding-bottom: 78%; padding-bottom: 78%;
margin: 12% -10%; margin: 12% -10%;
background-size: cover; background-size: cover;

View File

@ -8,10 +8,10 @@ categories: toys
{% asset sequencer.coffee %} {% asset sequencer.coffee %}
<audio>This browser does not support audio</audio> <audio>This browser does not support audio</audio>
<audio id="row1" src="{% asset CB.WAV @path %}" type="audio/wav"></audio> <audio id="row1" src="{% asset CB.WAV @path %}" type="audio/wav" preload="auto"></audio>
<audio id="row2" src="{% asset CH.WAV @path %}" type="audio/wav"></audio> <audio id="row2" src="{% asset CH.WAV @path %}" type="audio/wav" preload="auto"></audio>
<audio id="row3" src="{% asset CL.WAV @path %}" type="audio/wav"></audio> <audio id="row3" src="{% asset CL.WAV @path %}" type="audio/wav" preload="auto"></audio>
<audio id="row4" src="{% asset CP.WAV @path %}" type="audio/wav"></audio> <audio id="row4" src="{% asset CP.WAV @path %}" type="audio/wav" preload="auto"></audio>
<div class="sequencer-baseline" > <div class="sequencer-baseline" >
<div class="sequencer-wrapper" > <div class="sequencer-wrapper" >