[WebKit-devel] QtWebKit / KDE WebKit and HTML5 video

Dawit A adawit at kde.org
Tue Mar 23 22:55:50 CET 2010


Just in cases others ask about this same problem. Here is more details why 
currently the HTML video 5 support in QtWebKit does not work in KDE...

Due to differences between the Phonon version bundled in Qt and the version 
required for compiling KDE, most distributions were forced to disable phonon 
support when compiling Qt in order to use the KDE version of Phonon so that 
multimedia in KDE works properly. Unfortunately, compiling Qt without Phonon 
support means that all multimedia features in QtWebKit are disabled and hence 
no HTML 5 video support. Even if one manages to compile QtWebKit standalone 
with the KDE version of Phonon, you would not get properly working HTML 5 
video support for other even more complicated reasons.

Hence, until Qt 4.7 comes out, I doubt there will be proper HTML 5 video 
support in QtWebkit based browsers under KDE.

On Tuesday 23 March 2010 17:39:17 Dawit A wrote:
> This issue seems to be fixed upstream, but for most users it will have to
> wait until Qt 4.7 is released. See
> https://bugs.webkit.org/show_bug.cgi?id=34631
> 
> On Tuesday 23 March 2010 17:09:55 Markus wrote:
> > Out of curiosity: Is now any work going into fixing HTML5 video support?
> > 
> > Am Sonntag 24 Januar 2010 23:01:56 schrieb Dawit A.:
> > > On Sunday 24 January 2010 14:18:51 Markus wrote:
> > > > Hi.
> > > > I'm not sure if that's an upstream (Qt) bug, a KDE Phonon bug, or a
> > > > bug
> > > > 
> > > >  within SUSE's Qt 4 packages. Maybe you can help me.
> > > > 
> > > > According to http://trac.webkit.org/wiki/QtWebKitFeatures45 HTML5's
> > > > video
> > > > 
> > > >  tag should work since Qt 4.5, but for me (Qt 4.6) it doesn't work:
> > > >  Neither YouTube's HTML5 beta test (AVC codecs are installed), nor
> > > >  Theora videos (
> > > >  http://firefogg.org/make/mwEmbed/example_usage/Player_Simple_Themabl
> > > >  e. h tml ) works in Rekonq and Arora.
> > > > 
> > > > What are your experiences?
> > > 
> > > Well this is a known issue and has been for a while. The <video> tag
> > > has never worked at least for me with Qt 4.5 and multiple releases of
> > > KDE 4.x releases. It is something that is on my TODO list to
> > > investigate. I even have a test case for testing it. I am not entirely
> > > sure, but as far as I recall the issue has something to do with the
> > > multiple variations of Phonon available prior to the one in KDE being
> > > deprecated ??? in favor of the one in Qt. Anyhow, once KDE 4.4 is
> > > released, I will hopefully have the chance to investigate this
> > > issue...
> > > 
> > > Just as FYI though here is what I get on Qt 4.5 with the latest KDE
> > > 4.3.x branch:
> > > 
> > > Arora:
> > >   I get the error message "Your browser does not seem to support..."
> > > 
> > > ReKonq:
> > >   I see the first thumbnail image of the video and get a dark blank
> > >   square
> > > 
> > > where the player should be...
> > > 
> > > Konqueror + kwebkitpart:
> > > I see the player with the controls and initial thumbnail image of the
> > > video, but clicking on the Play button results in nothing!
> > > 
> > > Regards,
> > > Dawit A.
> > 
> > _______________________________________________
> > WebKit-devel mailing list
> > WebKit-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/webkit-devel
> 
> _______________________________________________
> WebKit-devel mailing list
> WebKit-devel at kde.org
> https://mail.kde.org/mailman/listinfo/webkit-devel


More information about the WebKit-devel mailing list