Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Integrating Adobe Flash with application

    General and Desktop
    2
    11
    1782
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nicky j 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!

      1 Reply Last reply Reply Quote 0
      • B
        bodzio131 last edited by

        QtWebKit handles the Adobe Flash content if you have flash plugin installed. What other integration do you look for?

        1 Reply Last reply Reply Quote 0
        • N
          nicky j last edited by

          So simply installing Adobe Flash plugin in my computer will allow the QWebView to handle flash content?

          1 Reply Last reply Reply Quote 0
          • B
            bodzio131 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.

            1 Reply Last reply Reply Quote 0
            • N
              nicky j last edited by

              what do you mean by default alignment?

              1 Reply Last reply Reply Quote 0
              • B
                bodzio131 last edited by

                "See this":http://en.wikipedia.org/wiki/Data_structure_alignment

                1 Reply Last reply Reply Quote 0
                • N
                  nicky j last edited by

                  Ok, thanks for the education! How can opt to use default alignment for my web view?

                  1 Reply Last reply Reply Quote 0
                  • B
                    bodzio131 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.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nicky j 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.

                      1 Reply Last reply Reply Quote 0
                      • B
                        bodzio131 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.

                        1 Reply Last reply Reply Quote 0
                        • N
                          nicky j last edited by

                          Ok so it looks like the flash plugin has to be located in a certain directory. Which one?

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post