[Development] Reimplementation of HTML5 support (QtWebKit)

Konstantin Tokarev annulen at yandex.ru
Sat Jan 31 17:55:44 CET 2015



30.01.2015, 22:37, "Ilya Kowalewski" <illya.kovalevskyy at gmail.com>:
> Hey there!
>
> My main purpose here is to reimplement some behaviour of QtWebKit on HTML5 Video support. Am I right that there is an abstract layer between actual context rendering / processing and webkit abstraction for HTML5 Video standart?
>
> So what's the best place to start with there?

HTML-faced part of <video> tag implementation is in WebCore::HTMLVideoElement (derived from WebCore::HTMLMediaElement).

Class WebCore::MediaPlayer is a platform-independent abstraction, by means of whcih WebCore::HTMLMediaElement is implemented.

Different player backend are plugged into WebCore::MediaPlayer using inheritance from WebCore::MediaPlayerPrivate, e.g. WebCore::MediaPlayerPrivateQt.

If you need to change low-level aspects of video playback, you might want to change MediaPlayerPrivateQt or implement your own MediaPlayerPrivate (we successfully done the latter in our product, using in house player implementation).

-- 
Regards,
Konstantin



More information about the Development mailing list