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:
Submodule public/moodle-test-userscript updated: fe74436ab1...cbfaffa70c
@@ -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>
|
||||
|
Reference in New Issue
Block a user