[whatwg] Using <video> as a source for canvas.drawImage

Robert O'Callahan robert at ocallahan.org
Mon Aug 18 14:45:11 PDT 2008


Thanks to Anne for pointing this out...

We've implemented using <video> elements as an image source in
canvas.drawImage:
https://bugzilla.mozilla.org/show_bug.cgi?id=448674
The extension is very obvious. Unlike animated images, which always draw the
first or poster frame, we draw the current frame of the video. This lets you
do things like make a thumbnail timeline.

It'd be nice to have this in the spec.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080819/035fdd93/attachment-0001.htm>


More information about the whatwg mailing list