]> git.parisson.com Git - telemeta.git/commitdiff
add video.js links
authoryomguy <yomguy@parisson.com>
Mon, 9 Apr 2012 21:27:30 +0000 (23:27 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 9 Apr 2012 21:27:30 +0000 (23:27 +0200)
telemeta/templates/telemeta/mediaitem_detail.html

index 68e84ce79cb4efb0b6636acc8322d779f83f08ce..6abb4dd470ef8891e575a52a288cb737e57ae18f 100644 (file)
@@ -77,8 +77,8 @@
 </script>
 
 {% if "video" in mime_type %}
-<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
-<script src="http://vjs.zencdn.net/c/video.js"></script>
+<script src="{% url telemeta-video-js "video.js" %}"></script>
+<link href="{% url telemeta-video-js "video-js.css" %}" rel="stylesheet">
 {% endif %}
 
 {% endif %}
@@ -199,7 +199,7 @@ Item : <a href="{% url telemeta-item-detail item.public_id %}">{{ item }}</a>
             <dt>{% trans "Last modification" %}</dt>
             <dd>{{ last_revision.time }} {% if user.is_authenticated %}(<a href="{% url telemeta-profile-detail last_revision.user.username %}">{{last_revision.user.username}}</a>){% endif %}</dd>
             {% endif %}
-            
+
         </dl>
         {% endblock general_info %}
     </div>