mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-21 20:59:04 +00:00
Added .m4v and .m2ts video extensions
Their thumbs can be made with ffmpeg Run "yarn thumbs 2" to create thumbs for existing uploads with those extensions Rebuilt client assets and bumped v1 version string
This commit is contained in:
parent
3e3878b93c
commit
a6156da798
@ -27,7 +27,7 @@ const self = {
|
||||
idMaxTries: config.uploads.maxTries || 1,
|
||||
|
||||
imageExts: ['.webp', '.jpg', '.jpeg', '.gif', '.png', '.tiff', '.tif', '.svg'],
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv'],
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'],
|
||||
|
||||
ffprobe: promisify(ffmpeg.ffprobe),
|
||||
|
||||
|
2
dist/js/dashboard.js
vendored
2
dist/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/dashboard.js.map
vendored
2
dist/js/dashboard.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/js/home.js
vendored
2
dist/js/home.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/home.js.map
vendored
2
dist/js/home.js.map
vendored
File diff suppressed because one or more lines are too long
@ -81,8 +81,8 @@ const page = {
|
||||
lazyLoad: null,
|
||||
|
||||
imageExts: ['.webp', '.jpg', '.jpeg', '.gif', '.png', '.tiff', '.tif', '.svg'],
|
||||
// some of these extensions can not be played directly in browsers
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv'],
|
||||
// TODO: Disable "Load original" button with non-streamable extensions
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'],
|
||||
|
||||
isTriggerLoading: null,
|
||||
fadingIn: null,
|
||||
|
@ -53,7 +53,7 @@ const page = {
|
||||
// Include BMP for uploads preview only, cause the real images will be used
|
||||
// Sharp isn't capable of making their thumbnails for dashboard and album public pages
|
||||
imageExts: ['.webp', '.jpg', '.jpeg', '.bmp', '.gif', '.png', '.tiff', '.tif', '.svg'],
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv'],
|
||||
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'],
|
||||
|
||||
albumTitleMaxLength: 70,
|
||||
albumDescMaxLength: 4000
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"1": "1587239207",
|
||||
"1": "1587307215",
|
||||
"2": "1581416390",
|
||||
"3": "1581416390",
|
||||
"4": "1581416390",
|
||||
|
Loading…
Reference in New Issue
Block a user