Skip to content

Commit d126750

Browse files
fixed video preview image
1 parent fdd8e92 commit d126750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/services/contributions/hooks/metascraper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function () {
3030
// hook.app.debug(metadata);
3131

3232
if (youtubeLinks.length >= 2) {
33-
hook.data.teaserImg = `https://img.youtube.com/vi/${youtubeLinks[1]}/maxresdefault.jpg`;
33+
hook.data.teaserImg = `https://img.youtube.com/vi/${youtubeLinks[1]}/default.jpg`;
3434
hook.data.meta = Object.assign(hook.data.meta || {}, { hasVideo: true });
3535
}
3636
} catch (err) {} // eslint-disable-line

0 commit comments

Comments
 (0)