aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-14 17:16:32 +0100
committerChocobozzz <me@florianbigard.com>2018-02-14 17:16:32 +0100
commit8cac1b6446a97b16387c9590ce5c799a79a759fa (patch)
tree6ef95c108b9323e47d1b979a01934398b0752dac /server
parenta16aee73db627908dc83eb5c29b213ce8d1fab39 (diff)
downloadPeerTube-8cac1b6446a97b16387c9590ce5c799a79a759fa.tar.gz
PeerTube-8cac1b6446a97b16387c9590ce5c799a79a759fa.tar.zst
PeerTube-8cac1b6446a97b16387c9590ce5c799a79a759fa.zip
Move adding a video view videojs peertube plugin
Diffstat (limited to 'server')
-rw-r--r--server/tools/import-youtube.ts3
1 files changed, 2 insertions, 1 deletions
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) {
120 tags: videoInfo.tags.slice(0, 5), 120 tags: videoInfo.tags.slice(0, 5),
121 privacy: VideoPrivacy.PUBLIC, 121 privacy: VideoPrivacy.PUBLIC,
122 fixture: videoPath, 122 fixture: videoPath,
123 thumbnailfile 123 thumbnailfile,
124 previewfile: thumbnailfile
124 } 125 }
125 126
126 console.log('\nUploading on PeerTube video "%s".', videoAttributes.name) 127 console.log('\nUploading on PeerTube video "%s".', videoAttributes.name)