We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a doubt with playAlarm = (undefined === parameters.playAlarm ? false : parameters.playAlarm), alarmSound = (undefined === parameters.alarmSound ? false : parameters.alarmSound),
It doesn't run, I already have added alarm.mp3 in the js folder as indicated by the path.
// Create audio tag for alarm sound var audioElement; if (playAlarm && alarmSound !== false) { var audioElement = doc.createElement('audio'); //audioElement.setAttribute('src', alarmSound); audioElement.setAttribute('src', 'js/alarm.mp3'); audioElement.setAttribute('preload', 'auto'); }
The text was updated successfully, but these errors were encountered:
Modern browsers now prevent pages playing unsolicited sounds, so I think that functionality is now dead.
Sorry, something went wrong.
No branches or pull requests
I have a doubt with
playAlarm = (undefined === parameters.playAlarm ? false : parameters.playAlarm),
alarmSound = (undefined === parameters.alarmSound ? false : parameters.alarmSound),
It doesn't run, I already have added alarm.mp3 in the js folder as indicated by the path.
// Create audio tag for alarm sound
var audioElement;
if (playAlarm && alarmSound !== false) {
var audioElement = doc.createElement('audio');
//audioElement.setAttribute('src', alarmSound);
audioElement.setAttribute('src', 'js/alarm.mp3');
audioElement.setAttribute('preload', 'auto');
}
The text was updated successfully, but these errors were encountered: