On Tue, Mar 18, 2008 at 10:59 AM, Aslak Raanes <[EMAIL PROTECTED]> wrote:

> Does anyone have any toughts on how one should be using <video> &
>  <audio> with Markdown? Using the link or the img syntax?
>
>  Maybe:
>
>      [a film](film.m4v)
>      [an audio](audio.mp3)
>
>  could create:
>
>      <video src="film.m4v" controls><a href="film.m4v">a film</a></
>  video>
>      <audio src="audio.mp4" controls><a href="audio.m4v">an audio</a></
>  audio>

I think you would need the same approach Markdown takes with images
today - a unique syntax structure. Overloading one syntax structure
(<object>) to support multiple complex mime-types is very tricky and
it is one of the main reasons why HTML 5 has new elements for audio &
video.

(Of course this is also one of the most argued over parts of the HTML
5 spec but I've yet to see any proposal for fixing the gigantic mess
that <object> has left us with.)

-s
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to