aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ennum-html.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/ennum-html.el b/ennum-html.el
index b8a98e5..dcdf26b 100644
--- a/ennum-html.el
+++ b/ennum-html.el
@@ -308,16 +308,16 @@
(ennum-html-find-link 'post path info)))
(org-export-backend-name (plist-get info :back-end))))
("video"
- (let ((video-directory (ennum-setting :video-directory)))
- (xmlgen
- `(video :src ,(url-encode-url (expand-file-name* path video-directory))
- :poster ,(url-encode-url
- (expand-file-name*
- (ennum-video-link-poster
- (ennum-html-find-link 'video path info))
- video-directory))
- :preload "none"
- :controls ""))))
+ (xmlgen
+ `(video :src ,(url-encode-url
+ (expand-file-name* path (ennum-setting :video-directory)))
+ :poster ,(url-encode-url
+ (expand-file-name*
+ (ennum-video-link-poster
+ (ennum-html-find-link 'video path info))
+ (ennum-setting :images-directory)))
+ :preload "none"
+ :controls "")))
;; Pass other link types to org-html-link
(_ (org-html-link link desc info)))))