Is this flash plugin problem.....??
-
in WebView the wrote the following line:
settings.pluginsEnabled: true
so it enabled the flash plugin!The problem is that, the url is of web conferences, which uses the flash plugin to enable video conference. When i am clicking on end call the ui is completly crashing and coming to login terminal. Even when i click quit i.e.,qml button in the case of conference it is going to login terminal.
In the case of conference, only these two problems are occuring, other than that it is not crashing.
what can be the problem? Is the problem is with qml ui or else with the flash plugin!
Note: the only one line "settings.pluginsEnabled: true" causing the problem!
2. I am also getting one more error as "ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused" -
main.qml
import QtQuick 1.0
import QtWebKit 1.0Rectangle {
id:main
width: 1280
height: 800
Button{
id: button
height: 50
width: 100
anchors.centerIn: parent
onButtonClicked: {
console.log("Mouse was clicked");
brow.visible = true;
brow.urlString = "some url with flash plugin";
console.log("url:",brow.urlString);
}
}
WebBrowser{
id: brow
visible: false
}
}WebBrowser.qml:
import QtQuick 1.1
import QtWebKit 1.0Rectangle
{
id: webTray
width: 1280
height: 800
property string urlString: ""Button { id: callaccept y: 0.01*webTray.height anchors.right: webTray.right; anchors.rightMargin: 0.05*webTray.width displayText: "Quit"; width: 0.05*webTray.width; height: 0.04*webTray.height; onClicked: { console.log("clicked on quit"); brow.visible = false; brow.urlString = "" console.log("browser is visible?:",brow.visible); } } Rectangle { width: webTray.width; height: 2; color: "silver"; anchors.bottom: web.top; } height: 50 width: 100 anchors.centerIn: parent onButtonClicked: { WebView { id: web preferredWidth: webTray.width preferredHeight: webTray.height - 0.06*webTray.height; y: 0.06*webTray.height transformOrigin: Item.TopLeft settings.pluginsEnabled: true url: webTray.urlString smooth: false onAlert: console.log(message) }
}