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 %>
|
<%= fname %>
|
||||||
</h2>
|
</h2>
|
||||||
<image
|
<image
|
||||||
style="width:auto; max-height: 400px;"
|
id="coverArt"
|
||||||
|
style="width:auto; max-height: 100%;"
|
||||||
onerror="this.style.display='none'"
|
onerror="this.style.display='none'"
|
||||||
src=<%= url + albumArt %>
|
src="<%= url + albumArt %>"
|
||||||
/>
|
/>
|
||||||
<audio id="audioPlayer" controls style="width:100%">
|
<audio id="audioPlayer" controls style="width:100%">
|
||||||
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
|
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
|
||||||
@@ -33,5 +34,6 @@
|
|||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
console.log('a')
|
console.log('a')
|
||||||
|
document.getElementById('coverArt').style.height = window.innerHeight - 140
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user