From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: Link type for HTML5 videos Date: Sun, 22 Jan 2017 22:02:30 -0500 Message-ID: <5f2b4c4d-cb48-74d8-fee5-e8acde7169af@gmail.com> References: <55050ad4-e40e-a20e-f25e-890930e31ebc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVUtv-0004hp-Bd for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 22:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVUtu-0006xx-8t for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 22:02:35 -0500 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:35343) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVUtu-0006xK-4A for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 22:02:34 -0500 Received: by mail-io0-x229.google.com with SMTP id j18so101190083ioe.2 for ; Sun, 22 Jan 2017 19:02:33 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: Arun Isaac , emacs-orgmode@gnu.org On 01/22/2017 04:59 PM, John Kitchin wrote: > That looks too rich for a link to me unless alot of it is always the > same, or derived, e.g. the id tags. That is why I said that agreeing on the default HTML export for the link type will be difficult. Scott > > Something like this is what a link would look like: > > video:quadratic.webm > > and the html export could certainly generate what you put in the html > block below. > > See > http://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org-9/ > for how to make a link, try it and report back if it is useful > > Scott Randby writes: > >> On 01/22/2017 01:22 PM, John Kitchin wrote: >>> What would these links look like? And what should they render too? >> >> I wasn't suggesting support for the idea, I was just suggesting that it >> makes sense to to both video and audio if they are to be done. >> >> However, I currently use export blocks to do video and audio export. I >> don't have a problem with continuing that practice since it works well >> for me. Here are two examples: >> >> #+begin_export html >>
>> >>
>> #+end_export >> >> #+begin_export html >>
>> >>
>> #+end_export >> >> Styling is done via a CSS file. >> >> It might be difficult to agree on what a video or audio link type >> renders to by default. >> >> Scott >> >>> >>> >>> On Sun, Jan 22, 2017 at 1:09 PM Scott Randby >> > wrote: >>> >>> On 01/22/2017 12:15 PM, Arun Isaac wrote: >>> >>> > >>> >>> > It would be nice to have a link type to export HTML5 videos. Currently, >>> >>> > the only way to insert videos is to use the #+BEGIN_video, #+END_video >>> >>> > block with literal #+HTML in them. This seems a little kludgy. Thoughts? >>> >>> >>> >>> If there is to be a link type to videos, then I think there should be >>> >>> one for audio too. >>> >>> >>> >>> Scott Randby >>> >>> >>> >>> > >>> >>> > Thanks, >>> >>> > Arun Isaac. >>> >>> > >>> >>> >>> > >