summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.background.video.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/xml/website.background.video.xml')
-rw-r--r--addons/website/static/src/xml/website.background.video.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.background.video.xml b/addons/website/static/src/xml/website.background.video.xml
new file mode 100644
index 00000000..18c1f4bd
--- /dev/null
+++ b/addons/website/static/src/xml/website.background.video.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates xml:space="preserve">
+ <t t-name="website.background.video">
+ <div class="o_bg_video_container">
+ <div class="o_bg_video_loading d-flex justify-content-center align-items-center text-primary">
+ <div class="spinner-border" style="width: 4em; height: 4em;" role="status">
+ <span class="sr-only">Loading...</span>
+ </div>
+ </div>
+ <iframe t-att-id="iframeID"
+ class="o_bg_video_iframe fade"
+ frameBorder="0"
+ t-att-src="videoSrc"/>
+ </div>
+ </t>
+</templates>