Initial Commit
This commit is contained in:
10
assets/js/unmuteAudio.js
Normal file
10
assets/js/unmuteAudio.js
Normal file
@ -0,0 +1,10 @@
|
||||
$(document).ready(function(){
|
||||
var ap = document.getElementById("ap");
|
||||
|
||||
var timer = setInterval(()=>{
|
||||
if(ap.readyState === 4){
|
||||
ap.muted = false;
|
||||
clearInterval(timer);
|
||||
}
|
||||
},5000);
|
||||
});
|
Reference in New Issue
Block a user