mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added image to manual, mkv video handling, image onerror change to alt
This commit is contained in:
parent
10c030f306
commit
b7dc475cd4
5 changed files with 10 additions and 5 deletions
|
@ -112,6 +112,7 @@ function appGetFileType (app, wildcard, contentType, pageToRender) {
|
|||
|
||||
const fileTypes = [
|
||||
['/*.mp4', 'video/mp4', 'stuff/video'],
|
||||
['/*.mkv', 'audio/x-matroska', 'stuff/video'],
|
||||
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
|
||||
['/*.pdf', 'application/pdf'],
|
||||
['/*.zip', 'application/zip']
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit fe74436ab119a31fdb35f7a3bbae50a572b0fb21
|
||||
Subproject commit 13de491da0290def7b357c7dafc12f22bfb77276
|
|
@ -1 +1 @@
|
|||
Subproject commit 0cfd9cfda377ff8917df50e68f105ec43f5e9311
|
||||
Subproject commit 100ca7750d88400b227c9e1592300c4d1ea7db5c
|
|
@ -189,7 +189,11 @@
|
|||
<b>4. Mi ez a ... ?</b>
|
||||
</br>
|
||||
<img height=40% src="img/imgq.jpg" alt="img"/>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<b>5.</b>
|
||||
</br>
|
||||
<img src="img/6.png" alt="img"/>
|
||||
</li>
|
||||
</p>
|
||||
<li>
|
||||
|
|
|
@ -21,11 +21,11 @@
|
|||
<h2>
|
||||
<%= fname %>
|
||||
</h2>
|
||||
<image
|
||||
<img
|
||||
id="coverArt"
|
||||
style="width:auto; max-height: 100%;"
|
||||
onerror="this.style.display='none'"
|
||||
src="<%= url + albumArt %>"
|
||||
alt=' '
|
||||
/>
|
||||
<audio id="audioPlayer" controls style="width:100%">
|
||||
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue