summaryrefslogtreecommitdiff
path: root/ennum-html.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennum-html.el')
-rw-r--r--ennum-html.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/ennum-html.el b/ennum-html.el
index ac3f0c3..eebedcd 100644
--- a/ennum-html.el
+++ b/ennum-html.el
@@ -365,6 +365,14 @@
:export 'ennum-html-export-thumbnail
:follow 'ennum-html-follow-image)
+(defun ennum-html-follow-video (path)
+ (ennum-html-follow (expand-file-name path
+ (ennum-setting :video-directory))))
+
+(org-link-set-parameters
+ "video"
+ :follow 'ennum-html-follow-video)
+
(defun ennum-html-export-static (path desc backend)
(pcase backend
((or 'ennum-html 'html)