Skip to content

Commit 0b40b94

Browse files
authored
Merge pull request danialfarid#1818 from videome/master
Fix the issue that infinitely checking duration of video.
2 parents 12336a0 + 42a648c commit 0b40b94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ ngFileUpload.service('UploadValidate', ['UploadDataUrl', '$q', '$timeout', funct
470470
var count = 0;
471471

472472
function checkLoadError() {
473+
count++;
473474
$timeout(function () {
474475
if (el[0].parentNode) {
475476
if (el[0].duration) {

0 commit comments

Comments
 (0)