Skip to content

Commit

Permalink
Merge pull request #1425 from EvanBldy/master
Browse files Browse the repository at this point in the history
various improvements
  • Loading branch information
EvanBldy authored Apr 29, 2024
2 parents 656e519 + d8ecd53 commit bab1335
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/previews/VideoProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ export default {
} else {
frame = frame - 1
}
if (this.nbFrames >= 3840) {
frame = Math.ceil(frame / Math.ceil(this.nbFrames / 3840))
}
const frameX = frame % 8
const frameY = Math.floor(frame / 8)
const frameHeight = 100
Expand Down
3 changes: 2 additions & 1 deletion src/lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const ALL_EXTENSIONS = [
'mp3',
'webm',
'avi',
'clip'
'clip',
'mkv'
]
const ALL_EXTENSIONS_STRING = ALL_EXTENSIONS.map(e => `.${e}`).join(',')

Expand Down

0 comments on commit bab1335

Please sign in to comment.