Initial Commit

This commit is contained in:
Christer Warén
2022-05-18 12:31:00 +03:00
commit cc46f8fff4
23 changed files with 1797 additions and 0 deletions

View File

@ -0,0 +1,3 @@
$(document).ready(function(){
document.cookie = "javascriptSupport=1; path=/; domain=" + location.hostname + "; secure";
});

10
assets/js/unmuteAudio.js Normal file
View 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);
});

10
assets/js/unmuteVideo.js Normal file
View File

@ -0,0 +1,10 @@
$(document).ready(function(){
var video = document.getElementById("vjs_video_3_html5_api");
var timer = setInterval(()=>{
if(video.readyState === 4){
video.muted = false;
clearInterval(timer);
}
},5000);
});