diff --git a/dist/animated-background.js b/dist/animated-background.js index 334665a..525a89a 100644 --- a/dist/animated-background.js +++ b/dist/animated-background.js @@ -336,9 +336,6 @@ function getEntityState(entity) { //main render function function renderBackgroundHTML() { - if(!View_Layout){ - return; - } var current_config = currentConfig(); var state_url = ""; var temp_enabled = true; @@ -483,7 +480,8 @@ function renderBackgroundHTML() { if (!current_config.entity) { STATUS_MESSAGE("Applying default background", true); } - html_to_render = ` -
+ }`; + var div = document.createElement("div"); + div.id = "background-video"; + div.className = "bg-wrap" + div.innerHTML = `