mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
fix
This commit is contained in:
parent
beb732373e
commit
d545f864ac
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue