mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Adde checkbox for autoplayin embed
This commit is contained in:
@@ -292,6 +292,14 @@ $(window).focus(function(){
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("change", "#autoplay", function() {
|
||||
if(this.checked) {
|
||||
$("#embed-area").val('<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '&autplay" width="600px" height="300px">');
|
||||
} else {
|
||||
$("#embed-area").val('<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '" width="600px" height="300px">');
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", "#chat-btn", function(){
|
||||
$("#text-chat-input").focus();
|
||||
//$("#chat-btn").css("color", "white");
|
||||
|
||||
Reference in New Issue
Block a user