1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00
This commit is contained in:
Daniel Neto 2024-10-24 16:03:38 -03:00
parent 77d1d9b1e9
commit 7f5f4e224c

View file

@ -2600,13 +2600,13 @@ function playAudio(mp3) {
if (promise !== undefined) { if (promise !== undefined) {
////console.log('pling promise', promise); ////console.log('pling promise', promise);
promise.then((response) => { promise.then((response) => {
////console.log('pling audio played', response); console.log('pling audio played', response);
plingEnabled = false; plingEnabled = false;
setTimeout(function () { setTimeout(function () {
plingEnabled = true; plingEnabled = true;
}, 3000); }, 3000);
}).catch(error => { }).catch(error => {
////console.log('pling audio disabled', error); console.log('pling audio disabled', error);
if (showEnableAudioMessage) { if (showEnableAudioMessage) {
showEnableAudioMessage = false; showEnableAudioMessage = false;
avideoAlertInfo('Click here to enable audio'); avideoAlertInfo('Click here to enable audio');