Compare commits

...

3 commits

Author SHA1 Message Date
Joel Kåberg
564a6298b5
Merge 0400476f0b into b59ea991ff 2025-07-23 22:52:45 -07:00
Stefan Haller
b59ea991ff Enable upload of multiple files on mobile devices 2025-07-21 10:43:26 +02:00
Joel Kåberg
0400476f0b
add mkv as an allowed video type 2024-04-03 13:48:22 +02:00
2 changed files with 2 additions and 2 deletions

2
ui/script.js vendored
View file

@ -583,7 +583,7 @@ picsHolder.addEventListener('touchend', e => {
}, false)
// Video player
const videosTypes = ['.mp4', '.webm', '.ogv', '.ogg', '.mp3', '.flac', '.wav']
const videosTypes = ['.mkv', '.mp4', '.webm', '.ogv', '.ogg', '.mp3', '.flac', '.wav']
const isVideo = src => src && videosTypes.find(type => src.toLocaleLowerCase().includes(type))
const isVideoMode = () => video.style.display === 'flex'
const videoFs = () => video.requestFullscreen()

2
ui/ui.tmpl vendored
View file

@ -50,7 +50,7 @@
<div style="display: none;" onclick="window.quitAll()" id="quitAll"><i style="display: none;" id="toast">cant reach server</i></div>
<textarea style="display: none;" id="text-editor"></textarea>
<div id="drop-grid"></div>
<input type="file" id="clickupload" style="display:none"/>
<input type="file" id="clickupload" multiple style="display:none"/>
<h1 onclick="return titleClick(event)">.{{.Title}}</h1>