play sound with keydown javascript
document.addEventListener('keydown', function(e) {
if (e.keyCode == 65) {
document.getElementById('audio').play();
}
});
play sound with keydown javascript
document.addEventListener('keydown', function(e) {
if (e.keyCode == 65) {
document.getElementById('audio').play();
}
});
play sound with keydown javascript
<audio id="audio" controls style="display:none">
<source src="http://butlerccwebdev.net/support/html5-video/media/soundfile.mp3" type="audio/mpeg"> Your browser does not support the audio element.
</audio>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us