Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Why no flash detected? How to install?
Qt 6.11 is out! See what's new in the release blog

Why no flash detected? How to install?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
6 Posts 4 Posters 4.4k Views
  • 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.
  • Q Offline
    Q Offline
    QBoy
    wrote on last edited by
    #1

    My PC already installed the flash player, but QWebEngine can't play video, the site show that you did't have installed flash player.
    Thanks!

    1 Reply Last reply
    0
    • khakhilK Offline
      khakhilK Offline
      khakhil
      wrote on last edited by
      #2

      download it from here .

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Lankin
        wrote on last edited by
        #3

        you need install the flash plugin manually.
        (1) copy two files: pepflashplayer.dll and manifest.json from chrome to
        C:\Windows\System32\Macromed\Flash

        (2)int main() or MainWindow() ,set the golbalSettings:
        QWebEngineSettings::globalSettings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);

        chrome flash file address:
        C:\Program Files (x86)\Google\Chrome\Application\52.0.2743.116\PepperFlash
        C:\Program Files (x86)\Google\Chrome\Application\51.0.2704.103\PepperFlash

        copy flash dll and json files to windows 32:
        C:\Windows\System32\Macromed\Flash
        copy flash dll and json files to windows 64:
        C:\Windows\SysWOW64\Macromed\Flash

        test QtWebEngine flash, load url:
        https://get.adobe.com/jp/flashplayer/

        Q 1 Reply Last reply
        1
        • L Lankin

          you need install the flash plugin manually.
          (1) copy two files: pepflashplayer.dll and manifest.json from chrome to
          C:\Windows\System32\Macromed\Flash

          (2)int main() or MainWindow() ,set the golbalSettings:
          QWebEngineSettings::globalSettings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);

          chrome flash file address:
          C:\Program Files (x86)\Google\Chrome\Application\52.0.2743.116\PepperFlash
          C:\Program Files (x86)\Google\Chrome\Application\51.0.2704.103\PepperFlash

          copy flash dll and json files to windows 32:
          C:\Windows\System32\Macromed\Flash
          copy flash dll and json files to windows 64:
          C:\Windows\SysWOW64\Macromed\Flash

          test QtWebEngine flash, load url:
          https://get.adobe.com/jp/flashplayer/

          Q Offline
          Q Offline
          QBoy
          wrote on last edited by
          #4

          @Lankin thanks a lot! it's helpful!

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cristeab
            wrote on last edited by
            #5

            Hi

            I am using Qt5.7 with QML WebEngine on Win10 x64. Following the above instructions I am still unable to play flash content. Could someone help ?

            thanks
            Bogdan

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cristeab
              wrote on last edited by
              #6

              Hi

              I have found that when using in QML WebEngineView component, one should enable in QML the flash plugin as

              WebEngineView {
                                  id: webView
                                  anchors.fill: parent
                                  url: "http://"
                                  Component.onCompleted: {
                                      //enable flash plugin
                                      webView.settings.pluginsEnabled = true
                                  }
              }
              

              Otherwise the instructions above are correct.

              regards
              Bogdan

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved