Fixed issue with embed-code generating faulty

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-23 13:12:50 +02:00
parent 07bce2c87b
commit 40e40ad298
2 changed files with 4 additions and 23 deletions

View File

@@ -337,7 +337,7 @@ var Channel = {
if(!client) {
Helper.addClass("footer", "padding-bottom-novideo");
document.getElementById("embed-area").value = embed_code(embed_autoplay, embed_width, embed_height, color);
document.getElementById("embed-area").value = embed_code(embed_autoplay, embed_width, embed_height, color, embed_videoonly, embed_localmode);
}
if(!/chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) && !Helper.mobilecheck() && !client){