fiddling wiht music template
This commit is contained in:
parent
99e3af7287
commit
ad551f54fc
|
@ -21,13 +21,12 @@ layout: default
|
||||||
{{ page.content }}
|
{{ page.content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<audio preload="true" autoplay
|
<audio preload="true"
|
||||||
ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration);"
|
ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration);">
|
||||||
audio.mediaGroup="deluxe">
|
|
||||||
<source src="{{ site.audio_url }}{{ page.mp3 }}" type="audio/mpeg" />
|
<source src="{{ site.audio_url }}{{ page.mp3 }}" type="audio/mpeg" />
|
||||||
<source src="{{ site.audio_url }}{{ page.ogg }}" type="audio/ogg" />
|
<source src="{{ site.audio_url }}{{ page.ogg }}" type="audio/ogg" />
|
||||||
<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>
|
||||||
<div id="tracktime"></div>
|
<div id="tracktime"></div>
|
||||||
<!-- stylemachine by Sakrecoer -snipthis if ya feel it - its the pary that runs the player ;) -->
|
<!-- stylemachine by Sakrecoer -snipthis if ya feel it - its the pary that runs the player ;) -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue