Using Flash Player in WebEngine requires three steps:
- Installation
Pepper Flash Player Plugin - Download the plugin in QT
- Enabling this feature in WebEngineView
STEP 1:
Pepper Flash Player Plugin , ( Adobe). Pepper - Flash Player, Chromium, WebEngine. , .
2:
, :
Pepper Flash Player , , ...
, .
3:
QtWebEngine 1.3 .qml:
import QtWebEngine 1.3
WebEngineView WebEngineView:
settings.pluginsEnabled : true
.qml :
import QtQuick 2.0
import QtQuick.Window 2.0
import QtWebEngine 1.3
Window {
width: 800
height: 600
visible: true
WebEngineView {
anchors.fill: parent
url: "http://127.0.0.1"
settings.pluginsEnabled : true
}
}
source
share