Add thumbnails for videos

This commit is contained in:
yflory
2017-10-24 12:26:04 +02:00
parent 21f8ae7570
commit 30a69fae13
3 changed files with 32 additions and 10 deletions

View File

@@ -296,7 +296,7 @@ define([
if (!Thumb.isSupportedType(file.type)) { return finish(); }
// make a resized thumbnail from the image..
Thumb.fromImageBlob(file, function (e, thumb_blob) {
Thumb.fromBlob(file, function (e, thumb_blob) {
if (e) { console.error(e); }
if (!thumb_blob) { return finish(); }