diff options
author | Jay Parikh | 2012-07-18 15:02:20 +0530 |
---|---|---|
committer | Jay Parikh | 2012-07-18 15:02:20 +0530 |
commit | d7839d446da8d6f5b1b806987468b2c4c7c314a1 (patch) | |
tree | e0c3bb64720a796822aed42d6c7fb23c0fd4652f /stapp | |
parent | 931ca6e91fc384593bcabbf9718a1f3a7c1c465d (diff) | |
download | stproject-d7839d446da8d6f5b1b806987468b2c4c7c314a1.tar.gz stproject-d7839d446da8d6f5b1b806987468b2c4c7c314a1.tar.bz2 stproject-d7839d446da8d6f5b1b806987468b2c4c7c314a1.zip |
minor changes
Diffstat (limited to 'stapp')
-rw-r--r-- | stapp/templates/video/home.html | 7 |
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> |