[webkit-qt] Downloading streaming media

Benjamin Poulain benjamin.poulain at nokia.com
Tue Sep 21 00:33:50 PDT 2010


Hi,

On 09/21/2010 08:53 AM, ext Richard Baron Penman wrote:
> I would like to download streaming content (mp3, flv, etc) from a QWebView.
> I expect I could do this by subclassing QNetworkAccessManager, but is
> there any existing work I can build on?

Arora, or Demo Browser have the possibility to download files. Looking 
at this code could be a starting point.


> Often embedded content requires to be clicked before it will stream -
> any ideas how to deal with this?
> Perhaps with QWebFrame::hitTestContent() ?

It depends on the use case, how the content is embedded.
Do you mean content using the <object> tag? If yes, QWebPluginFactory is 
probably the solution.

cheers,
Benjamin


More information about the webkit-qt mailing list