diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-28 19:29:35 -0600 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-28 19:29:35 -0600 |
commit | 9be9a10f2622086bf086af0ce82a0febed155c7a (patch) | |
tree | 1730017196b804a349a98cfb445196528525fbba /templates | |
parent | 52032577ec56c7592750f3c744a5a9880444026b (diff) | |
download | emacsconf-wiki-9be9a10f2622086bf086af0ce82a0febed155c7a.tar.xz emacsconf-wiki-9be9a10f2622086bf086af0ce82a0febed155c7a.zip |
Add: initial test of jump to timestamp for talk videos
- add vidid to the vid template in order to set an id attribute on
the video element
- add onload event to set main video variable
- add test of setting the time in one talk transcript link
Diffstat (limited to '')
-rw-r--r-- | templates/vid.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vid.md b/templates/vid.md index 803e0fb6..37af8bf5 100644 --- a/templates/vid.md +++ b/templates/vid.md @@ -1,5 +1,5 @@ <div class="vid"> -<video controls preload="metadata"> +<video controls preload="metadata" id="<TMPL_VAR vidid>" onload="var mainVideo = document.getElementById(<TMPL_VAR vidid>)"> <source src="<TMPL_VAR src>" type="<TMPL_VAR type>" /> <TMPL_IF subtitles> <track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default /> |