comparison templates/sat_website/membership.html @ 93:9ae3d9c8b28a

actually display the subtitles (with Firefox it is used only when it's the first <track /> of the list, and when the "default" option is present)
author souliane <souliane@mailoo.org>
date Tue, 16 Jun 2015 21:26:58 +0200
parents 5de2a3dd4e67
children e138879873f1
comparison
equal deleted inserted replaced
92:7a79cb5ed43b 93:9ae3d9c8b28a
31 <div class="row"> 31 <div class="row">
32 <div class="info text-center"> 32 <div class="info text-center">
33 <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none"> 33 <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none">
34 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.webm" type='video/webm; codecs="vp8.0, vorbis"'> 34 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.webm" type='video/webm; codecs="vp8.0, vorbis"'>
35 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.ogv" type='video/ogg; codecs="theora, vorbis"'> 35 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.ogv" type='video/ogg; codecs="theora, vorbis"'>
36 {% 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 %} 36 {% get_language_info for LANGUAGE_CODE as lang %}
37 <track label="{{lang.name_local}}" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.vtt" kind="subtitles" srclang="{{LANGUAGE_CODE}}" default />
38 {% 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 %}
37 </video> 39 </video>
38 </div> 40 </div>
39 </div> 41 </div>
40 42
41 <div class="row"> 43 <div class="row">