[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Link type for HTML5 videos
From: |
Scott Randby |
Subject: |
Re: [O] Link type for HTML5 videos |
Date: |
Sun, 22 Jan 2017 22:02:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
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
>> <div id="audio-division">
>> <audio
>> id="audio-tag"
>> controls
>> preload="metadata">
>> <source src="quadratic.mp3"/>
>> Your browser does not support the <code>audio</code> tag.
>> </audio>
>> </div>
>> #+end_export
>>
>> #+begin_export html
>> <div id="video-division">
>> <video
>> id="video-tag"
>> src="quadratic.webm"
>> controls
>> preload="metadata">
>> Your browser does not support the <code>video</code> tag.
>> </video>
>> </div>
>> #+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 <address@hidden
>>> <mailto:address@hidden>> 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.
>>>
>>> >
>>>
>>>
>>>
>
>
Re: [O] Link type for HTML5 videos, Rasmus, 2017/01/24