mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 08:22:32 +01:00
Compare commits
2 commits
6252f35284
...
37eaf5be06
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37eaf5be06 | ||
|
|
0400476f0b |
1 changed files with 1 additions and 1 deletions
2
ui/script.js
vendored
2
ui/script.js
vendored
|
|
@ -582,7 +582,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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue