add titles to audio for matomo
This commit is contained in:
parent
517ae8bc5f
commit
425837e921
|
@ -35,7 +35,7 @@ layout: default
|
||||||
<img src="{{ page.image }}" alt="cover art for {{ page.title }}" width="100%" />
|
<img src="{{ page.image }}" alt="cover art for {{ page.title }}" width="100%" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<audio preload="true" autoplay="true"
|
<audio data-matomo-title="{{ page.title }}" preload="true" autoplay="true"
|
||||||
ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration) + ' Seconds';">
|
ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration) + ' Seconds';">
|
||||||
<source src="{{ page.mp3 }}" type="audio/mpeg" />
|
<source src="{{ page.mp3 }}" type="audio/mpeg" />
|
||||||
<source src="{{ page.ogg }}" type="audio/ogg" />
|
<source src="{{ page.ogg }}" type="audio/ogg" />
|
||||||
|
|
Loading…
Reference in a new issue