Refactored media module. Returning 320p and 720p videos from MindGeek as teasers instead of trailers.

This commit is contained in:
2020-02-19 04:41:53 +01:00
parent b9e617edfc
commit 97f5e49187
12 changed files with 389 additions and 193 deletions

View File

@@ -98,7 +98,7 @@ module.exports = {
path: './media',
thumbnailSize: 320, // width for 16:9 will be exactly 576px
thumbnailQuality: 100,
trailerQuality: [480, 540],
videoQuality: [480, 360, 320, 540, 720, 1080, 2160],
limit: 25, // max number of photos per release
},
titleSlugLength: 50,