Qt / webkit and flash

I installed pyqt 4.8.1 on xp and Qt in the package. I have a tag like

<object ...> <param value='1.swf'> <embed src='1.swf'></embed> </param> </object> 

But Qt / webkit does not show flash. (no problem with code and IE or chrome). Is Qt / webkit supported?

+7
flash qt webkit qtwebkit
source share
2 answers

All you have to do is enable plugins. See the python-specific Qt example, but in C ++, like this.

QWebPage * webpage = ... webpage-> settings () → setAttribute (QWebSettings :: PluginsEnabled, true);

Plugins are loaded by NPAPI http://en.wikipedia.org/wiki/NPAPI

+5
source share

use AC_RunActiveContent.js. for your built-in flash memory, it works in all browsers. This is included as a standard embedding method in Dreamweaver, but can be downloaded if you prefer to use a different solution. you can download it here → link text

0
source share

All Articles