summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/vid.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/vid.md b/templates/vid.md
index a0d0e3a9..023731f8 100644
--- a/templates/vid.md
+++ b/templates/vid.md
@@ -3,5 +3,8 @@
<source src="<TMPL_VAR src>" type="<TMPL_VAR type>" />
<p><em>Your browser does not support the video tag,
please download the video instead.</em></p>
+ <TMPL_IF subtitles>
+ <track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default>
+ </TMPL_IF>
</video>
</div>