Skip to content
Snippets Groups Projects
Commit f2f2a130 authored by Andreas Valder's avatar Andreas Valder
Browse files

fixed webvtt to spec, there have to be at least 2 empty lines

parent d644e637
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,13 @@
WEBVTT
{% for c in chapters|sort(attribute='start') %}
{{ loop.index }}
{# time format is 'minutes:seconds.ms' we expect full seconds #}
{{ vtttime(c['start']) }} --> {{ vtttime(c['end']) }}
{{ c['text'] }}
{% else $}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment