1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
Daniel Neto 2023-02-27 15:26:43 -03:00
parent beb732373e
commit d545f864ac

View file

@ -2485,13 +2485,16 @@ function downloadURLOrAlertError(jsonURL, data, filename, FFMpegProgress) {
isMobile()
//|| /cdn.ypt.me/.test(response.url)
) {
console.log('downloadURLOrAlertError 2', response.url);
window.open(response.url, '_blank');
avideoToastInfo('Opening file');
//document.location = response.url
} else {
console.log('downloadURLOrAlertError 3', response.url, filename);
downloadURL(response.url, filename);
}
} else {
console.log('downloadURLOrAlertError 4', response);
avideoResponse(response);
modal.hidePleaseWait();
}