取消预览图自动下载

This commit is contained in:
Harvey Zack committed 2018-12-08 10:06:19 +08:00
1 parent 7cdf6ce904
commit 9a9665aac5
1 file changed
+1 -3
+1 -3
View File
@@ -60,9 +60,7 @@
thumbnail.on('video', function(video) {
console.log('Video size: ' + video.videoWidth + ' x ' + video.videoHeight);
console.log('Video duration: ' + video.duration + 's');
thumbnail.setup(getConfig()).start().then(() => {
thumbnail.download();
});
thumbnail.setup(getConfig()).start();
});
thumbnail.on('canvas', function(canvas) {