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 ?
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...
Just to report on my experience of enabling flash in QWebKit, do the following:
download firefox and install flash player for firefox,
enable plug-ins in QWebKit (QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);)
then recompile your Qt Application.
Now flash should work fine.
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);
Related
i am developing dynamic web project with bootstrap templates every thing is working fine even view is rendering perfect.
in home.jsp file in which i have link css(bootstrap files & my customized files) file
<link rel="stylesheet" href="<c:url value="/resources/bootstrap/css/bootstrap.min.css"/>">
but in my code when i press ctrl+space it does not show me suggestion for css classes in
<div class="..">
i am using eclipse neon please help me thank
Depending on which Eclipse package you installed you may already have the CSS and HTML editors. If you don't then you can install them using Help > Install New Software. Choose the software site for your version of Eclipse in the drop down list and look at the Web, XML, Jave EE and OSGi Enterprise Development section. The Eclipse Web Developer Tools section contains the editors you want but the other sections may also be of interest.
And if this plugin for eclipse will work for you
Researching this a bit and reading over your comments it seems that you are using Eclipse with the Aptana extension. If you absolutely do not need to use the Eclipse environment you could now download the Aptana Studio 3 which is based on Eclipse. It looks just like eclipse but is Aptana. Now instead of entering this and looking for Aptana plugins you are going to go into Aptana and look for eclipse plugins. I've installed this myself and have installed several plugins that handle all sorts of things such as javascript code completion, source code formatting etc.
If you go to this site http://www.aptana.com/ you can download the software there. To get all of the plugins, you can do use this site to guide you through some terrific source code completion utilities as well as others. http://jebaird.com/2012/11/02/useful-plugins-for-aptana-studio-3.html
I made a simple web browser but when I access to
https://get.adobe.com/jp/flashplayer/
It says
Adobe Flash Player is already installed, but disabled
However as I read http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
It says that pepper flash plugin should be automatically loaded if there is a proper dll file. I checked my C:\Windows\System32\Macromed\Flash\ and I'm sure that I have a pepflashplayer32_21_0_0_213.dll there.
Then I also set
QWebEngineSettings *websetting = QWebEngineSettings::defaultSettings();
websetting->setAttribute(QWebEngineSettings::PluginsEnabled, true);
but still no hopes.
Anyone knows how to enable flash with QtWebEngine?
OK I got a working answer here:
https://forum.qt.io/topic/66187/cannot-load-pepper-flash-plugin-in-qtwebengine-with-qt5-6/3
For me I have to copy pepflashplayer.dll from chrome. It seems that installed pepflashplayer*.dll from adobe does not work.
After installing PepFlashPlayer, you need to enable PPAPI in your application manually (it is disabled by default). Use following code before showing the page:
QWebEngineSettings::globalSettings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
Maybe do it manually with this command line argument:
--ppapi-flash-path=./libpepflashplayer.so
See also the different bug reports relative to this problem : 51774 and
49625.
I was running my application from Flash Builder 4.5.1 without any issues. (It is a Flex application that connects to .Net Web Services). However, something has changed recently in my configuration or project, because when I try to run the app with the play or debug button, I just get a grey screen. I can't even stop on any breakpoints.
Eventually (maybe 30 seconds), a message pops up like so: 'The Flash Builer failed to connect to the running application. Please make sure that you are running the debug version of Flash Player...'
I definitely have latest version of Flash Debug Player installed (11.1.102.55). I have tried uninstalling it and re-installing it.
I have tried cleaning and rebuilding my project.
I have tried switching to a different workspace and back again.
I have tried restarting the PC.
I am using the latest version of IE for testing.
I'm really stumped - has anybody got any ideas on how to solve this?
Thanks
Have you tried deleting the html-template folder? This has caused issues for me in the past.
After it's deleted, when you try to build you will have a compiler error/warning about the missing folder. Right click and 'rebuild'.
There are some issues with compatability between 64 bit IE9, the 64-bit flash player, and 32-bit debugger. It seems like flash builder gets confused on which to use. I haven't seen any decent resolution yet in the Adobe forums for this particular issue other than use a different browser for testing.
To switch browsers, go to Window > Preferences... > General > Web Browser in Flash Builder. Select Firefox or Chrome.
In order to use Firefox, you need the Flash Debugger for Netscape compatable browsers installed. You can get that from Adobe here.
To use Chrome, you need to replace the built in flash player that is installed with Chrome with the debug player. Instructions from Adobe are here.
i am using Netbeans PHP + Firefox 4 on Windows for my web development.
I've used a common firebug extension called Xrefresh. It was automaticlly refreshing my opened firefox tab everytime change in my projects directory occured, so pressing ctrl+s in netbeans was triggering auto-refresh in the browser. Very comfort way to work with css, almost live preview.
But now since new Firefox and Firebug versions Xrefresh doesn't work anymore and the question is - are therey any good alternatives, or does someone know how to configure Xrefresh now?
Without live preview my development is somehow slower.
https://github.com/NV/auto_update_stylesheets
This could help you. It refreshes the page via ajax on css save.
There's an automatic refresh-on-change tool for IE. It's called ReloadIt, and is available at http://reloadit.codeplex.com . Free.
Not an add-on to IE, but more of an "adjunct". It does not change the IE install, does not install a BHO or anything like that. So very low-impact installation.
You choose a URL that you'd like to auto-reload, and specify one or more directory paths to monitor for changes. Press F12 to start monitoring.
After you set it, minimize it. Then edit your content files. When you save, the page gets reloaded. like this:
I've managed to keep using xrefresh up until Firefox 9 however I'm not having any luck with version 10.
I've now switched to livereload, they've had a decent Mac version out for a while and a very experimental Windows version has recently been released.
I'm using the PhpStorm IDE, and it has a wonderful plugin called CSS-X fire that integrates with firebug: whenever I make changes in the CSS via Firebug, and the PhpStorm project is open, the plugin makes PhpStorm aware of the cahnge, and enables me to apply it in the code.
My question is if there is a similar plugin for other IDEs (such as Visual Studio) or editors (such as Notepad++), since I'm not sure we're going to buy PhpStorm, and we also have projects not in PHP.
Have a look at cssUpdater. It is a CSS-X-Fire spin-off that works directly on selected files rather than communicating with the IDE.
Using CssUpdater with Visual Studio 2012 worked great for me. You only need to install firefox addon CssUpdater and sync the files you are going to work on.