summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/vid.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/vid.md b/templates/vid.md
index c2ddd30b..e667cec6 100644
--- a/templates/vid.md
+++ b/templates/vid.md
@@ -1,8 +1,9 @@
<div class="vid">
<video controls preload="metadata">
<source src="<TMPL_VAR src>" type="<TMPL_VAR type>" />
- <!--<TMPL_VAR subtitles>-->
- <!--<track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default>-->
+ <TMPL_IF subtitles>
+ <track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default />
+ </TMPL_IF>
<p><em>Your browser does not support the video tag,
please download the video instead.</em></p>
</video>