mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
New setting background_video
This commit is contained in:
@@ -1089,7 +1089,7 @@
|
||||
|
||||
//add new options from the json results
|
||||
for (var i=0; i < obj.length; i++) {
|
||||
|
||||
|
||||
//get the variables
|
||||
domain_uuid = obj[i].domain_uuid;
|
||||
domain_name = obj[i].domain_name;
|
||||
@@ -1114,7 +1114,7 @@
|
||||
div.style.background = '{$domain_selector_background_color_2}';
|
||||
}
|
||||
|
||||
//set the active domain style
|
||||
//set the active domain style
|
||||
if ('{$domain_uuid}' == obj[i].domain_uuid) {
|
||||
div.style.background = '{$domain_active_background_color}';
|
||||
div.style.fontWeight = 'bold';
|
||||
@@ -1161,6 +1161,13 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{*//video background *}
|
||||
{if !empty($settings.theme.background_video)}
|
||||
<video id="background-video" autoplay muted poster=" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$settings.theme.background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
||||
{*//message container *}
|
||||
<div id='message_container'></div>
|
||||
|
||||
@@ -1222,3 +1229,4 @@
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user