Hello all
im using Qwebkit and every time im loading youtube , its asking me to download the latest
flash player plugin , even so i already installed the plugin and i can see youtube videos
in firefox and explorer very well
what is the deal with Qwebkit and Flash plagin ?
views:
213answers:
3Hello,
There is a way of doing it. Qt in windows doesn't use by default the flash plugin even if you have installed it for firefox. The solution is to manually copy the plugin dll into your compiled application directory (I mean in the same directory than the executable is installed).
I did it more than a year ago so I'm not totally sure if it has to be directly in the directory or under a folder called plugins. Try both and one of them should work.
The flash plugin dll should be in your firefox directory, if not do a search in google and there are several pages in which you can download it.
You also need to activate plug-ins support for QWebView. I think that was done in the pro file, but I have been doing some research and it maybe done changing the web settings:
websettings.setAttribute(QtWebKit.QWebSettings.PluginsEnabled,True)
Go to adobe.com and download the plugin for Other Browsers (Firefox, Safari, Opera), and re-install...
Hi there, your problem is very simple to solve.
Just add the following lines to your code:
QWebSettings *defaultSettings = QWebSettings::globalSettings(); defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, true); defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true);
greets Front_Schaaf