mirror of
https://github.com/pldubouilh/gossa
synced 2026-04-24 22:10:53 +02:00
add mkv as an allowed video type
This commit is contained in:
parent
33c93fc0b4
commit
0400476f0b
1 changed files with 1 additions and 1 deletions
2
ui/script.js
vendored
2
ui/script.js
vendored
|
|
@ -579,7 +579,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