开发者

Add a movie to org-mode html output

开发者 https://www.devze.com 2023-04-02 21:55 出处:网络
In my org file I have a hyperlink to a movie [[mymovie.avi][Click here to watch my movie]] When exporting this to html, this link gets converted to an html-link that I can click on to open a new br

In my org file I have a hyperlink to a movie

[[mymovie.avi][Click here to watch my movie]]

When exporting this to html, this link gets converted to an html-link that I can click on to open a new browser tab, where finally the movie plays.

This is, however, not very convenient. Is there a way to have a youtube-like frame inside the ht开发者_如何学编程ml page that plays that movie, just as it is done for images?

Edit: I found that the html object command works, if I replace the link in the html file by it

<object data="mymovie.avi" height=300 width=300></object>

Can the html export behaviour of .avi files be changed to this?


Org mode is now part of vanilla Emacs. Consider filing an enhancment request, using M-x report-emacs-bug. (Yes, that is for enhancement requests too, not just bug reports.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号