From: Boris Bobrov Date: Thu, 12 Jul 2018 17:04:45 +0000 (+0200) Subject: move subtitles out of media streams in html X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4d2aab64ccdf8c89aef86befccf1a1ac59357524;p=mediagoblin.git move subtitles out of media streams in html --- diff --git a/mediagoblin/templates/mediagoblin/media_displays/video.html b/mediagoblin/templates/mediagoblin/media_displays/video.html index 31825bfd..f3e1978e 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/video.html +++ b/mediagoblin/templates/mediagoblin/media_displays/video.html @@ -65,11 +65,11 @@ type="{{ media.media_manager['default_webm_type'] }}" {% endif %} label="{{ each_media_path[0] }}" res="{{ each_media_path[1][1] }}" /> - {%- for subtitle in media.subtitle_files %} - - {%- endfor %} {% endfor %} + {%- for subtitle in media.subtitle_files %} + + {%- endfor %}
{%- trans -%}Sorry, this video will not work because your web browser does not support HTML5