summaryrefslogtreecommitdiff
path: root/stapp/templates/video/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'stapp/templates/video/home.html')
-rw-r--r--stapp/templates/video/home.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html
index 470403d..b35ab12 100644
--- a/stapp/templates/video/home.html
+++ b/stapp/templates/video/home.html
@@ -8,9 +8,8 @@
<script>
function myfunction(video,image)
{
- document.getElementById('mainvideo').poster = image;
- document.getElementById('mainvideo').src = video;
-
+ document.getElementById('mainvideo').poster = image;
+ document.getElementById('mainvideo').src = video;
}
</script>
{% endblock %}
@@ -19,7 +18,7 @@ function myfunction(video,image)
<div class="hero-unit">
<h3>Latest Video</h3>
- <video width="700" height="400" controls="controls" id="mainvideo" poster="{{play.image.url}}" src="{{play.filename.url}}">
+ <video width="700" height="400" controls="controls" id="mainvideo" poster="{{play.image.url}}" preload="none" src="{{play.filename.url}}">
</video>
<div id="footnote"></div>