Album art for audio

This commit is contained in:
MrFry 2019-11-10 15:25:33 +01:00
parent 227fa36e6c
commit 3a7818b403
2 changed files with 16 additions and 1 deletions

View file

@ -21,6 +21,11 @@
<h2>
<%= fname %>
</h2>
<image
style="width:auto; max-height: 400px;"
onerror="this.style.display='none'"
src=<%= url + albumArt %>
/>
<audio id="audioPlayer" controls style="width:100%">
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
</audio>