summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-07-19 12:01:41 -0400
committerAmin Bandali <bandali@gnu.org>2020-07-19 12:01:41 -0400
commit93608067770dd32ea3ce5853515254d5820edf22 (patch)
tree633161b316eb50ec63c810ce8dbffb789c5758c5
parentc9d6a48482d1b3d766abf9bf2422d7fd271c8d3e (diff)
downloademacsconf-wiki-93608067770dd32ea3ce5853515254d5820edf22.tar.xz
emacsconf-wiki-93608067770dd32ea3ce5853515254d5820edf22.zip
try using a template for <video>
to see if the <p><video> issue can be worked around this way
-rw-r--r--2019/talks.md3
-rw-r--r--2019/talks/01.md8
-rw-r--r--templates/vid.md5
3 files changed, 10 insertions, 6 deletions
diff --git a/2019/talks.md b/2019/talks.md
index 99c01a60..d7f6e843 100644
--- a/2019/talks.md
+++ b/2019/talks.md
@@ -4,7 +4,8 @@ Please read: [[ANN] EmacsConf 2019 videos now out!](//lists.gnu.org/archive/html
Besides the links below, the videos are also available from our
channel on toobnix.org, a PeerTube instance on the fediverse, hosted
-by the SDF folks. You can visit our channel at
+by the SDF folks.
+You can visit our channel at
<https://toobnix.org/video-channels/emacsconf>, and the EmacsConf 2019
playlist
[here](//toobnix.org/videos/watch/playlist/c088b73f-7a0a-4b0a-8a3c-240b549d065d).
diff --git a/2019/talks/01.md b/2019/talks/01.md
index 071cbd0e..64c3a495 100644
--- a/2019/talks/01.md
+++ b/2019/talks/01.md
@@ -1,11 +1,9 @@
[[!meta title="Welcome to the conference - Amin Bandali"]]
[[!meta copyright="Copyright &copy; 2019 Amin Bandali"]]
-<video controls preload="metadata">
- <source src="https://mirror.csclub.uwaterloo.ca/emacsconf/2019/emacsconf-2019-01-welcome-to-the-conference--bandali.webm" type="video/webm" />
- <p><em>Your browser does not support the video tag,
- please download the video instead.</em></p>
-</video>
+[[!template id=vid
+src="https://mirror.csclub.uwaterloo.ca/emacsconf/2019/emacsconf-2019-01-welcome-to-the-conference--bandali.webm"
+type="video/webm"]]
### Download
diff --git a/templates/vid.md b/templates/vid.md
new file mode 100644
index 00000000..4ae41827
--- /dev/null
+++ b/templates/vid.md
@@ -0,0 +1,5 @@
+<video controls preload="metadata">
+ <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>
+</video>