embed now takes hight for change in channel

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-26 20:14:08 +01:00
parent cab2ea0a8e
commit 30021bf2d3
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -26,7 +26,7 @@ var began = false;
var i = -1; var i = -1;
var lazy_load = true; var lazy_load = true;
var embed = false; var embed = false;
var embed_code = '<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '" width="600px" height="300px">';
var id; var id;
var full_playlist; var full_playlist;
var conf; var conf;
@@ -191,7 +191,7 @@ function init(){
}, 1000); }, 1000);
$("#embed-button").css("display", "inline-block"); $("#embed-button").css("display", "inline-block");
$("#embed-area").val(embed_code); $("#embed-area").val('<embed src="https://zoff.no/embed.html#' + chan.toLowerCase() + '" width="600px" height="300px">');
} }