diff options
author | Sacha Chua <sacha@sachachua.com> | 2020-12-08 22:57:23 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2020-12-08 22:57:23 -0500 |
commit | 8b2b15a5b8949e1ece6ca42f193afac77dc297ba (patch) | |
tree | b5cd2787cc3a61782435c43826c003eb623a9e8e /templates | |
parent | b575cc298101325a1e75cda2acd56b411e4d1892 (diff) | |
download | emacsconf-wiki-8b2b15a5b8949e1ece6ca42f193afac77dc297ba.tar.xz emacsconf-wiki-8b2b15a5b8949e1ece6ca42f193afac77dc297ba.zip |
Complete tag
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vid.md | 5 |
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> |