summaryrefslogtreecommitdiff
path: root/stapp/templates/video/home.html
diff options
context:
space:
mode:
authorParth Buch2012-07-17 14:32:24 +0530
committerParth Buch2012-07-17 14:32:24 +0530
commit156b9a477390d4419c4c195504b2abb7c84c5053 (patch)
treed280874f0fb49826b56fbb3b3f5477a6fe5e914e /stapp/templates/video/home.html
parent0e5cd027caa98376b1f954691161c7ad0804fac5 (diff)
downloadstproject-156b9a477390d4419c4c195504b2abb7c84c5053.tar.gz
stproject-156b9a477390d4419c4c195504b2abb7c84c5053.tar.bz2
stproject-156b9a477390d4419c4c195504b2abb7c84c5053.zip
Not preloadind the video, getting the full image for the mail video poster
Diffstat (limited to 'stapp/templates/video/home.html')
-rw-r--r--stapp/templates/video/home.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html
index 427fedd..2bb26ef 100644
--- a/stapp/templates/video/home.html
+++ b/stapp/templates/video/home.html
@@ -8,7 +8,7 @@
<div class="hero-unit">
<h3>Latest Video</h3>
- <video width="700" height="400" controls="controls" id="mainvideo" poster="{{play.thumbnail.url}}">
+ <video width="700" height="400" controls="controls" id="mainvideo" poster="{{play.image.url}}" preload="metadata">
<source src="{{play.filename.url}}">
</video>
<div id="footnote"></div>
@@ -19,7 +19,7 @@
<div span="12">
<h2>{{module.name}}</h2>
{% for video in module.video_list.all %}
- <video width="150" height="150" controls="controls" poster="{{video.thumbnail.url}}">
+ <video width="150" height="150" controls="controls" poster="{{video.thumbnail.url}}" preload="metadata">
<source src="{{video.filename.url}}" >
</video>
{{video.name}}