Add background_video_enabled (#7083)

Added this to allow disabling video so that global default and individual domains can use different settings.
This commit is contained in:
FusionPBX
2024-08-03 22:35:11 -06:00
committed by GitHub
parent eb93adba0b
commit 63ec63f32b
2 changed files with 18 additions and 2 deletions

View File

@@ -1176,7 +1176,7 @@
<body>
{*//video background *}
{if !empty($settings.theme.background_video)}
{if !empty(settings.theme.background_video_enabled) && $settings.theme.background_video_enabled == 'true' && !empty($settings.theme.background_video)}
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1; this.pause();">
<source src="{$settings.theme.background_video}" type="video/mp4">
</video>