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 = [
|
const fileTypes = [
|
||||||
['/*.mp4', 'video/mp4', 'stuff/video'],
|
['/*.mp4', 'video/mp4', 'stuff/video'],
|
||||||
|
['/*.mkv', 'audio/x-matroska', 'stuff/video'],
|
||||||
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
|
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
|
||||||
['/*.pdf', 'application/pdf'],
|
['/*.pdf', 'application/pdf'],
|
||||||
['/*.zip', 'application/zip']
|
['/*.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>
|
<b>4. Mi ez a ... ?</b>
|
||||||
</br>
|
</br>
|
||||||
<img height=40% src="img/imgq.jpg" alt="img"/>
|
<img height=40% src="img/imgq.jpg" alt="img"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<b>5.</b>
|
||||||
|
</br>
|
||||||
|
<img src="img/6.png" alt="img"/>
|
||||||
</li>
|
</li>
|
||||||
</p>
|
</p>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
<h2>
|
<h2>
|
||||||
<%= fname %>
|
<%= fname %>
|
||||||
</h2>
|
</h2>
|
||||||
<image
|
<img
|
||||||
id="coverArt"
|
id="coverArt"
|
||||||
style="width:auto; max-height: 100%;"
|
style="width:auto; max-height: 100%;"
|
||||||
onerror="this.style.display='none'"
|
|
||||||
src="<%= url + albumArt %>"
|
src="<%= url + albumArt %>"
|
||||||
|
alt=' '
|
||||||
/>
|
/>
|
||||||
<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 %>>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue