]> git.parisson.com Git - teleforma.git/commitdiff
re-add video.js
authoryomguy <yomguy@parisson.com>
Sun, 22 Jul 2012 23:46:57 +0000 (01:46 +0200)
committeryomguy <yomguy@parisson.com>
Sun, 22 Jul 2012 23:46:57 +0000 (01:46 +0200)
teleforma/templates/teleforma/course_media.html

index 345a8c3ade4f6a4645e6be69e140520718b23b35..46f88f45286971080a3bd2634bcd6ca9f0d0b87d 100644 (file)
@@ -53,7 +53,7 @@ $(document).ready(function(){
 
 {% if "video" in media.mime_type %}
 <div class="video">
-<video width="640" height="360" controls preload="auto">
+<video id="my_video_1" class="video-js vjs-default-skin" width="640" height="360" controls preload="auto" data-setup='{}'>
 <!-- Hello Chrome and Firefox (and Opera?) -->
 <source src="{{ MEDIA_URL }}{{ media.item.file }}" type="{{ media.mime_type }}" />
 </video>