diff options
author | Sacha Chua <sacha@sachachua.com> | 2020-12-08 23:10:28 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2020-12-08 23:10:28 -0500 |
commit | f1da27478799ad132cea6e73f190eb9cf51f37b4 (patch) | |
tree | abec0c7b92de602c676357e06bc010541b7e906e | |
parent | af8bde1b08c06798a45631ccb81cacf0ff35a3d2 (diff) | |
download | emacsconf-wiki-f1da27478799ad132cea6e73f190eb9cf51f37b4.tar.xz emacsconf-wiki-f1da27478799ad132cea6e73f190eb9cf51f37b4.zip |
Wrap with if
Diffstat (limited to '')
-rw-r--r-- | templates/vid.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vid.md b/templates/vid.md index 66ec1323..c7bb4684 100644 --- a/templates/vid.md +++ b/templates/vid.md @@ -1,7 +1,9 @@ <div class="vid"> <video controls preload="metadata"> <source src="<TMPL_VAR src>" type="<TMPL_VAR type>" /> +<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> </div> |