diff options
author | Jay Parikh | 2012-07-18 01:01:38 +0530 |
---|---|---|
committer | Jay Parikh | 2012-07-18 01:01:38 +0530 |
commit | 931ca6e91fc384593bcabbf9718a1f3a7c1c465d (patch) | |
tree | 6cbbe4d9fc79265d1172bc7028da69b04c084bc1 /stapp/templates | |
parent | 118ee2bc615504fc091e4c81135801f76dcc559a (diff) | |
parent | 156b9a477390d4419c4c195504b2abb7c84c5053 (diff) | |
download | stproject-931ca6e91fc384593bcabbf9718a1f3a7c1c465d.tar.gz stproject-931ca6e91fc384593bcabbf9718a1f3a7c1c465d.tar.bz2 stproject-931ca6e91fc384593bcabbf9718a1f3a7c1c465d.zip |
image loading instead of video
Diffstat (limited to 'stapp/templates')
-rw-r--r-- | stapp/templates/video/home.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html index 7281fab..470403d 100644 --- a/stapp/templates/video/home.html +++ b/stapp/templates/video/home.html @@ -1,7 +1,6 @@ {% extends "base.html" %} <!DOCTYPE html> -<script src="{{ URL_BASE }}/static/video/css/jquery-1.7.2.js" type="javascript" /> {% block title %} STProject {% endblock %} @@ -31,10 +30,7 @@ function myfunction(video,image) <div span="12"> <h2>{{module.name}}</h2> {% for video in module.video_list.all %} - <!--video width="150" height="150" controls="controls"> - <source src="{{video.filename.url}}" poster="{{video.thumbnail.url}}"> - </video--> - + <a href=javascript:myfunction("{{video.filename.url}}","{{video.image.url}}") > <img src='{{video.image.url}}' name='video' id='video{{forloop.counter}}' /></a> {{video.name}} |