On Tue, Jul 13, 2010 at 3:27 PM, Eric Carlson <eric.carl...@apple.com> wrote:
> Rafael -
>
> On Jul 13, 2010, at 10:57 AM, Rafael Antognolli wrote:
>
>>
>> I want to implement a way to open a HTML5 video using an external
>> application, instead of playing it directly inside the browser. Anyone
>> have some idea on where is the best code to look at? I was thinking
>> about changing the port-specific implementation of
>> platform/graphics/MediaPlayer.cpp and RenderTheme.cpp. Is that a good
>> place to put this stuff?
>>
>  I would create a new "media engine" (MediaPlayerPrivateInterface) for your 
> port that implements whatever behavior you need. An instance will be 
> instantiated and passed a url when WebKit wants to open a movie, so you can 
> launch your application and pass it the url.
>
>  Take a look at one of the port specific implementations in 
> WebCore/platform/graphics/[port]/MediaPlayerPrivate[port].
>

Yeah, that's what I meant! I just wasn't sure if this would be the
best way of doing that.

Thank you!

-- 
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to