PDA

View Full Version : Webengineview not loading videos



A9am
2nd August 2017, 10:45
Hi,

I am using WebEngineView to implement a browser for my application.

But i could not watch any videos .Play is not even started . Is there any settings i should change to make it work?

Please help.

Ginsengelf
2nd August 2017, 10:52
Hi, could you show us your current code?

Ginsengelf

A9am
2nd August 2017, 10:56
Hi,

I am just using the basic qml component as follows:

import QtQuick 2.5
import QtQuick.Window 2.2
import QtWebEngine 1.0
import QtQuick.Controls 1.4

Window {
visible: true
width: 1000
height: 900


TextField{
id: urlField
width : parent.width
height : 20
x:0
y:10
inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhPreferLowercase
text: webView.url
onAccepted: webView.url = urlField.text
}

WebEngineView{
id: webView
anchors.fill: parent
url: "http://www.google.com"


}

}