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.

cheers,
Benjamin
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to