diff --git a/www/common/common-thumbnail.js b/www/common/common-thumbnail.js index 049273b50..ea0ce1d54 100644 --- a/www/common/common-thumbnail.js +++ b/www/common/common-thumbnail.js @@ -118,6 +118,9 @@ define([ Thumb.fromCanvas(video, D, cb); }); }); + video.addEventListener('error', function (e) { + cb('ERROR'); + }); }; Thumb.fromBlob = function (blob, cb) { if (blob.type.indexOf('video/') !== -1) {