Initial Commit
This commit is contained in:
3
assets/js/javascriptSupportCookie.js
Normal file
3
assets/js/javascriptSupportCookie.js
Normal file
@ -0,0 +1,3 @@
|
||||
$(document).ready(function(){
|
||||
document.cookie = "javascriptSupport=1; path=/; domain=" + location.hostname + "; secure";
|
||||
});
|
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);
|
||||
});
|
10
assets/js/unmuteVideo.js
Normal file
10
assets/js/unmuteVideo.js
Normal 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);
|
||||
});
|
Reference in New Issue
Block a user