mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 00:12:36 +01:00
Compare commits
3 commits
dcb40c7985
...
564a6298b5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
564a6298b5 | ||
|
|
b59ea991ff | ||
|
|
0400476f0b |
2 changed files with 2 additions and 2 deletions
2
ui/script.js
vendored
2
ui/script.js
vendored
|
|
@ -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
2
ui/ui.tmpl
vendored
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue