move subtitles out of media streams in html
This commit is contained in:
parent
23af1d8cbc
commit
4d2aab64cc
@ -65,11 +65,11 @@
|
|||||||
type="{{ media.media_manager['default_webm_type'] }}"
|
type="{{ media.media_manager['default_webm_type'] }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
label="{{ each_media_path[0] }}" res="{{ each_media_path[1][1] }}" />
|
label="{{ each_media_path[0] }}" res="{{ each_media_path[1][1] }}" />
|
||||||
|
{% endfor %}
|
||||||
{%- for subtitle in media.subtitle_files %}
|
{%- for subtitle in media.subtitle_files %}
|
||||||
<track src="{{ request.app.public_store.file_url(subtitle.filepath) }}"
|
<track src="{{ request.app.public_store.file_url(subtitle.filepath) }}"
|
||||||
label="{{ subtitle.name }}" kind="subtitles">
|
label="{{ subtitle.name }}" kind="subtitles">
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endfor %}
|
|
||||||
<div class="no_html5">
|
<div class="no_html5">
|
||||||
{%- trans -%}Sorry, this video will not work because
|
{%- trans -%}Sorry, this video will not work because
|
||||||
your web browser does not support HTML5
|
your web browser does not support HTML5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user