emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Embedded video in html-export
@ 2014-10-13  7:27 Dov Grobgeld
  2014-10-13  8:05 ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Dov Grobgeld @ 2014-10-13  7:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Is it currently possible to inline a video file in the html export? Right,
now I only get a link, while what I would like to have is:

<video src="myvideo.ogv" poster="myvideo.png" loop=1 preload="auto"
controls>
Sorry, no video in this browser.
</video>

Thanks,
Dov

[-- Attachment #2: Type: text/html, Size: 576 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Embedded video in html-export
  2014-10-13  7:27 Embedded video in html-export Dov Grobgeld
@ 2014-10-13  8:05 ` Eric Abrahamsen
  2014-10-13  8:48   ` Dov Grobgeld
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2014-10-13  8:05 UTC (permalink / raw)
  To: emacs-orgmode

Dov Grobgeld <dov.grobgeld@gmail.com> writes:

> Is it currently possible to inline a video file in the html export?
> Right, now I only get a link, while what I would like to have is:
>
> <video src="myvideo.ogv" poster="myvideo.png" loop=1 preload="auto"
> controls>
> Sorry, no video in this browser.
> </video>

Yup, you need to export as html5, and set the html5-fancy option to
true. See the manual:

(org) HTML doctypes

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Embedded video in html-export
  2014-10-13  8:05 ` Eric Abrahamsen
@ 2014-10-13  8:48   ` Dov Grobgeld
  0 siblings, 0 replies; 3+ messages in thread
From: Dov Grobgeld @ 2014-10-13  8:48 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Thanks! Works great!


On Mon, Oct 13, 2014 at 11:05 AM, Eric Abrahamsen <eric@ericabrahamsen.net>
wrote:

> Dov Grobgeld <dov.grobgeld@gmail.com> writes:
>
> > Is it currently possible to inline a video file in the html export?
> > Right, now I only get a link, while what I would like to have is:
> >
> > <video src="myvideo.ogv" poster="myvideo.png" loop=1 preload="auto"
> > controls>
> > Sorry, no video in this browser.
> > </video>
>
> Yup, you need to export as html5, and set the html5-fancy option to
> true. See the manual:
>
> (org) HTML doctypes
>
>
>

[-- Attachment #2: Type: text/html, Size: 1162 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-13  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-13  7:27 Embedded video in html-export Dov Grobgeld
2014-10-13  8:05 ` Eric Abrahamsen
2014-10-13  8:48   ` Dov Grobgeld

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).