[webkit-qt] seek not supported in Phonon

Benjamin Poulain benjamin.poulain at nokia.com
Wed Jun 9 11:22:27 PDT 2010

ext jianhua zhou wrote:
> I am a new comer for webkit and I am meeting a difficult problem.
> In my project I develop a media player based on Webkit/Phonon and it
> can play media file now. However
> when I start to develop the "seek" (or "jump") I realized that it
> seems impossible with QtWebKit and phonon because the method
> float MediaPlayerPrivate::maxTimeSeekable() const
> {
>     notImplemented();
>     return 0.0f;
> }
> which leads to "HTMLMediaElement::seek" return in step 4 and it can
> not come to step 10 to have a real "seek".
> Anybody has experience on this issue?

Tor Arne will probably have a lot more information about that but if I 
remember correctly, the seek feature was impossible to implement with 
the API of Phonon.

I guess the solution would be to use the QtMultimedia backend or maybe 
the new Phonon if the new API provides what is needed. Both solutions 
would require you to modify WebKit.


More information about the webkit-qt mailing list