[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] publishuing in html5
From: |
Scott Randby |
Subject: |
Re: [O] publishuing in html5 |
Date: |
Fri, 20 Dec 2013 15:06:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 12/18/2013 05:04 AM, Catonano wrote:
> Nicolas,
>
> 2013/12/15 Nicolas Goaziou <address@hidden>
>
>> Hello,
>>
>> Catonano <address@hidden> writes:
>>
>>> I made a temporary repository here
>>> https://github.com/humanitiesNerd/exploring-org-mode
>>>
>>> in case anyone wants to take a look
>>
>> In "configuration.el" you use
>>
>> :org-html-html5-fancy 1
>>
>> but it should be
>>
>> :html-html5-fancy 1
>>
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>>
>
> thank you so much for your suggestion !
>
> I tried but it still doesn't work.
>
> That is, this block
>
> #+ATTR_HTML: :controls controls :width 350
> #+BEGIN_VIDEO
> #+HTML: <source src="movie.mp4" type="video/mp4">
> #+HTML: <source src="movie.ogg" type="video/ogg">
> Your browser does not support the video tag.
> #+END_VIDEO
>
>
> gets translated to
>
> <div controls="controls" width="350" class="video">
> <source src="movie.mp4" type="video/mp4">
> <source src="movie.ogg" type="video/ogg">
> <p>
> Your browser does not support the video tag.
> </p>
>
> </div>
Here is an example that works for me:
--8<---------------cut here---------------start------------->8---
#+HTML_DOCTYPE: html5
#+OPTIONS: html5-fancy:t
#+ATTR_HTML: :controls controls :preload metadata : width 350
#+BEGIN_VIDEO
#+BEGIN_HTML
<source src="video.webm" />
Your browser does not support the <code>video</code> tag.
#+END_HTML
#+END_VIDEO
#+ATTR_HTML: :controls controls :id aud-tag :preload metadata
#+BEGIN_AUDIO
#+BEGIN_HTML
<source src="audio.ogg" />
<source src="audio.mp3" />
Your browser does not support the <code>audio</code> tag.
#+END_HTML
#+END_AUDIO
--8<---------------cut here---------------end--------------->8---
Scott Randby
>
>
> As for my versions of Org-mode, Emacs and operating system, I'm gonna write
> about it in a minute
>
> Thanks again
>
- [O] Leading headline of a subtree tag export, (continued)
Re: [O] publishuing in html5, Catonano, 2013/12/11
Re: [O] publishuing in html5, Nicolas Goaziou, 2013/12/09
Re: [O] publishuing in html5, Catonano, 2013/12/31