From 8cac1b6446a97b16387c9590ce5c799a79a759fa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Feb 2018 17:16:32 +0100 Subject: Move adding a video view videojs peertube plugin --- server/tools/import-youtube.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tools') diff --git a/server/tools/import-youtube.ts b/server/tools/import-youtube.ts index 325e9f7ba..12e996e5b 100644 --- a/server/tools/import-youtube.ts +++ b/server/tools/import-youtube.ts @@ -120,7 +120,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string) { tags: videoInfo.tags.slice(0, 5), privacy: VideoPrivacy.PUBLIC, fixture: videoPath, - thumbnailfile + thumbnailfile, + previewfile: thumbnailfile } console.log('\nUploading on PeerTube video "%s".', videoAttributes.name) -- cgit v1.2.3