preload rules
This commit is contained in:
parent
9f708b5bf1
commit
67ca1a53fd
|
@ -64,7 +64,7 @@ lang: en
|
||||||
</div>
|
</div>
|
||||||
<div id="audiowrap">
|
<div id="audiowrap">
|
||||||
<div id="audio0">
|
<div id="audio0">
|
||||||
<audio id="audio1" controls="controls">Your browser does not support HTML5
|
<audio id="audio1" preload="metadata" controls="controls">Your browser does not support HTML5
|
||||||
Audio!</audio>
|
Audio!</audio>
|
||||||
</div>{% assign onetracker = page.tracks | size %}
|
</div>{% assign onetracker = page.tracks | size %}
|
||||||
{% if onetracker > 1 %}
|
{% if onetracker > 1 %}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="audiowrap">
|
<div id="audiowrap">
|
||||||
<div id="audio0">
|
<div id="audio0">
|
||||||
<audio id="audio1" controls="controls">Your browser does not support HTML5
|
<audio id="audio1" preload="metadata" controls="controls">Your browser does not support HTML5
|
||||||
Audio!</audio>
|
Audio!</audio>
|
||||||
</div>{% assign onetracker = album.tracks | size %}
|
</div>{% assign onetracker = album.tracks | size %}
|
||||||
{% if onetracker > 1 %}
|
{% if onetracker > 1 %}
|
||||||
|
|
|
@ -94,7 +94,7 @@ layout: default
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Audio player-->
|
<!-- Audio player-->
|
||||||
<audio autoplay preload="true" data-matomo-title="{{ page.common.title }}">
|
<audio autoplay preload="metadata" data-matomo-title="{{ page.common.title }}">
|
||||||
<source src="https://media.basspistol.com/basspistol.com/{{ page.slug }}.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' />
|
<source src="https://media.basspistol.com/basspistol.com/{{ page.slug }}.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' />
|
||||||
<h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>.
|
<h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>.
|
||||||
</audio>
|
</audio>
|
||||||
|
|
Loading…
Reference in a new issue