mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Update
This commit is contained in:
parent
77d1d9b1e9
commit
7f5f4e224c
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue