Integrating Adobe Flash with application
-
wrote on 15 Mar 2014, 20:58 last edited by
Hello,
I am wondering how I can integrate Adobe Flash into my web browser. I was surfing YouTube and I noticed that some of the videos would play (HTML5 vids I think), while others required Adobe Flash. How can I integrate Flash into my web browser so that I can interact with flash content?
Thanks!
-
wrote on 15 Mar 2014, 21:20 last edited by
QtWebKit handles the Adobe Flash content if you have flash plugin installed. What other integration do you look for?
-
wrote on 15 Mar 2014, 21:43 last edited by
So simply installing Adobe Flash plugin in my computer will allow the QWebView to handle flash content?
-
wrote on 15 Mar 2014, 21:51 last edited by
As far as I know it will. I had only one problem: the webkit built with non-default struct member alignment doesn't work with the flash, but I hope you can use default alignment.
-
wrote on 15 Mar 2014, 22:08 last edited by
what do you mean by default alignment?
-
wrote on 15 Mar 2014, 22:48 last edited by
-
wrote on 21 Mar 2014, 04:17 last edited by
Ok, thanks for the education! How can opt to use default alignment for my web view?
-
wrote on 21 Mar 2014, 21:04 last edited by
I understand that you didn't change it intentionally (using for example /zp switch into MS compiler or #pragma pack) so I'm sure you use the default already.
-
wrote on 27 Mar 2014, 23:57 last edited by
Ok so I have the flash plugin on my computer (should i use the Chrome version?). It doesn't seem to have any effect.
-
wrote on 28 Mar 2014, 20:07 last edited by
Have you tried this?
@QWebSettings *settings = QWebSettings::globalSettings();
settings->setAttribute (QWebSettings::PluginsEnabled, true);@See also "this":http://qt-project.org/forums/viewthread/12496/ thread for other details.
-
wrote on 7 Apr 2014, 00:42 last edited by
Ok so it looks like the flash plugin has to be located in a certain directory. Which one?