]> git.parisson.com Git - mezzo.git/commitdiff
user plain video tag rather than iframe
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 4 Apr 2016 17:07:52 +0000 (19:07 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 4 Apr 2016 17:07:52 +0000 (19:07 +0200)
app/festival/templates/festival/video_detail.html

index 14f1f8933d1c5493b1f90cc8d2efe633d672190e..eea4f39e385bf46d1094ad1c8cdf561b1503d33a 100644 (file)
 </div>
 
 <div class="embed-responsive">
-    <iframe src="http://medias.ircam.fr/embed/media/{{ video.media_id }}" frameborder="0" allowfullscreen="" width="100%"></iframe>
+       <video width="100%" controls data-title="{{ video.title }}" preload="none">
+         <source src="{{ video.open_source_url }}" type="{{ video.open_source_mime_type }}" />
+      <source src="{{ video.closed_source_url }}" type="{{ video.closed_source_mime_type }}" />
+         </video>
 </div>
 
 {% with video as object %}