[webkit-dev] Video feature request

Adam Barth abarth at webkit.org
Thu Jan 14 10:58:21 PST 2010


On Thu, Jan 14, 2010 at 10:06 AM, Chris Marrin <cmarrin at apple.com> wrote:
> On Jan 14, 2010, at 9:23 AM, Oliver Hunt wrote:
>> On Jan 14, 2010, at 9:00 AM, Zack S wrote:
>>> There's a feature that I would find useful that's not as far as I know a part of HTML5/Javascript in Webkit based browsers.
>>>
>>> Namely, I'd like to be able to open a video from within Javascript without necessarily wanting to play it, but rather I want to be able to extract frames out of it as image objects and/or to extract the corresponding sound portions of frames.
>>
>> I can't speak to the sound aspect of this, but you can get pixel data by painting a <video> to the canvas element.
>
> There are cross-domain restrictions on this functionality, right?

I'm not sure if we've implemented it yet, but we could let video
providers opt out of these protections using CORS.

Adam


More information about the webkit-dev mailing list