PDA

View Full Version : Local flashfile not playing in webView



AnAx
9th May 2009, 23:37
Hi

If I select a flashfile from disc for the webView it does not play. If I upload the same flashfile to a webserver and input the url for it in the webView it plays.
I can play the flashfile localy with both IE and Firefox.

Anyone got any clue about why this is happening?

AnAx
4th October 2009, 04:59
Bump...anyone?

Qt 4.5.2

This works:


ui.webView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
ui.webView->setUrl(QUrl("http://www.3000gt.se/test/client.swf"));


Using a full path or resource does not work:



ui.webView->setUrl(QUrl("file:///C:.../Resources/client.swf"));