mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added option for autoplay in embed
This commit is contained in:
@@ -26,6 +26,7 @@ var began = false;
|
||||
var i = -1;
|
||||
var lazy_load = true;
|
||||
var embed = false;
|
||||
var autoplay = true;
|
||||
|
||||
var id;
|
||||
var full_playlist;
|
||||
@@ -191,7 +192,7 @@ function init(){
|
||||
}, 1000);
|
||||
|
||||
$("#embed-button").css("display", "inline-block");
|
||||
$("#embed-area").val('<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '" width="600px" height="300px">');
|
||||
$("#embed-area").val('<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '&autplay" width="600px" height="300px">');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user