mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Improve download from CDN
This commit is contained in:
parent
1c16681902
commit
d7cc85cfb6
1 changed files with 2 additions and 1 deletions
|
@ -2282,8 +2282,9 @@ function checkFFMPEGProgress(FFMpegProgress) {
|
|||
success: function (response) {
|
||||
console.log(response);
|
||||
setTimeout(function () {
|
||||
if(response.progress.progress!==100){
|
||||
if(typeof response.progress.progress !== 'undefined' && response.progress.progress!==100){
|
||||
checkFFMPEGProgress(FFMpegProgress);
|
||||
modal.setText('Converting... '+response.progress.progress+'% '+response.progress.remainTimeHuman);
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue