Re: Questions on audio/video tests

Le mardi 12 janvier 2010 à 15:49 +0000, Kai Hendry a écrit :
> 2010/1/12 Dominique Hazael-Massieux <dom@w3.org>:
> > I’m looking at the audio and video tests, and I'm having trouble finding
> > references to some of the functions it uses:
> > • where are defined the Audio() and Video() constructors? (in
> > particular, Firefox 3.5 seems to choke on that constructor, although it
> > looks like it is supposed to support it)
> 
> Btw I stole this test from:
> http://svn.webkit.org/repository/webkit/trunk/LayoutTests/media/

Which one exactly? You need to copy whatever license/copyright notice
comes with the original test, I would assume.

> http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#video
> NamedConstructor for Audio, though I can't find Video. How is one
> supposed to construct video from JS?

What about
video = new HTMLVideoElement();
?

> > • what is the function findMediaFile? where is it defined?
> 
> http://dev.w3.org/2008/mobile-test/v2/media-file.js

Oops, I had missed that :) My Android browser seems to find a parsing
error at line 3 on that script, but I haven't figured out why yet.

Thanks,

Dom

Received on Tuesday, 12 January 2010 15:59:27 UTC