W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] javascript API for <video> element

From: Maciej Stachowiak <mjs@apple.com>
Date: Sat, 2 Jun 2007 12:13:04 -0700
Message-ID: <0108E505-AF9A-4743-B754-616CCFF580B1@apple.com>

On Jun 2, 2007, at 5:40 AM, Silvia Pfeiffer wrote:

> Hi all,
>
> the Annodex Association and Xiph Foundation are in the process of
> implementing a small-footprint library and firefox plugin called
> OggPlay that provides native Ogg Theora support.
>
> There's a javascript API in the process of being specified - and I
> think it would be valuable for others to have a look at and provide
> input. It may also be possible to include such a javascript API into
> the HTML5 spec for the <video> element.
>
> Check it out here: http://wiki.xiph.org/index.php/OggPlayJavascriptAPI

Have you guys considered using the HTML5 <video> JavaScript API as  
the basis for your API? http://www.whatwg.org/specs/web-apps/current- 
work/#media

I see a lot of overlap in functionality but even basic things are  
done differently. For example, you guys have separate get and set  
methods for things that are just read-write or read-only attributes  
in HTML5. And often methods with the same basic functionality have  
different names. Mostly the <video> API is more detailed than your  
proposal for what it covers.

You do have some new functionality, like the playlist API. It would  
be easier to fold into HTML5 if it was designed as an extension to  
the current API.

>
> Feedback should probably go in copy to the theora at lists.xiph.org  
> mailing list.

Cc'd since I gave feedback.

Regards,
Maciej
Received on Saturday, 2 June 2007 12:13:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC