mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Album art fixes
This commit is contained in:
parent
3a7818b403
commit
a116356815
2 changed files with 5 additions and 3 deletions
|
@ -1 +1 @@
|
|||
Subproject commit fe74436ab119a31fdb35f7a3bbae50a572b0fb21
|
||||
Subproject commit cbfaffa70ceb29b4beac4b13f6cbb4b85baac8a8
|
|
@ -22,9 +22,10 @@
|
|||
<%= fname %>
|
||||
</h2>
|
||||
<image
|
||||
style="width:auto; max-height: 400px;"
|
||||
id="coverArt"
|
||||
style="width:auto; max-height: 100%;"
|
||||
onerror="this.style.display='none'"
|
||||
src=<%= url + albumArt %>
|
||||
src="<%= url + albumArt %>"
|
||||
/>
|
||||
<audio id="audioPlayer" controls style="width:100%">
|
||||
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
|
||||
|
@ -33,5 +34,6 @@
|
|||
</body>
|
||||
<script>
|
||||
console.log('a')
|
||||
document.getElementById('coverArt').style.height = window.innerHeight - 140
|
||||
</script>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue