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 <sran...@gmail.com
> <mailto:sran...@gmail.com>> 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.
> 
>     >
> 
> 
> 

Reply via email to