summaryrefslogtreecommitdiff
path: root/project/templates/vidframe/base_video.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'project/templates/vidframe/base_video.xhtml')
-rw-r--r--project/templates/vidframe/base_video.xhtml26
1 files changed, 26 insertions, 0 deletions
diff --git a/project/templates/vidframe/base_video.xhtml b/project/templates/vidframe/base_video.xhtml
new file mode 100644
index 0000000..f298705
--- /dev/null
+++ b/project/templates/vidframe/base_video.xhtml
@@ -0,0 +1,26 @@
+
+{%- extends "vidframe/base_vidframe.xhtml" -%}
+
+
+
+{%- block style %}
+ body {
+ margin: 0;
+ padding: 0;
+ }
+{% endblock -%}
+
+
+
+{%- block video %}
+<div>
+ <object type="video/mp4"
+ data="{%- block vidfile -%}{%- endblock -%}"
+ width="{%- block vidwidth -%}{%- endblock -%}"
+ height="{%- block vidheight -%}{%- endblock -%}">
+ <a href="{%- block backup -%}{%- endblock -%}">Download video</a>
+ </object>
+</div>
+{% endblock -%}
+
+