diff templates/sat_website/membership.html @ 86:45770a652636

use source tag to display video (tip from Link Mauve)
author souliane <souliane@mailoo.org>
date Mon, 15 Jun 2015 15:30:27 +0200
parents 3189fd4a15fa
children 5de2a3dd4e67
line wrap: on
line diff
--- a/templates/sat_website/membership.html	Mon Jun 15 17:37:49 2015 +0200
+++ b/templates/sat_website/membership.html	Mon Jun 15 15:30:27 2015 +0200
@@ -30,8 +30,10 @@
 
 <div class="row">
     <div class="info text-center">
-	    <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls="controls" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_fr.webm" preload="none">
-	        Votre butineur ne gère pas la balise « video », vous devriez le mettre à jour, par ex. avec le dernier  <a href="http://www.mozilla.org/">Firefox</a>
+	    <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none">
+            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_fr.webm" type='video/webm; codecs="vp8.0, vorbis"'>
+            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_fr.ogv" type='video/ogg; codecs="theora, vorbis"'>
+             {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}.{% endblocktrans %}
 	    </video>
     </div>
 </div>