Results 1 to 3 of 3

Thread: Webengineview not loading videos

  1. #1
    Join Date
    Oct 2011
    Posts
    48
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Webengineview not loading videos

    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.

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    503
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Webengineview not loading videos

    Hi, could you show us your current code?

    Ginsengelf

  3. #3
    Join Date
    Oct 2011
    Posts
    48
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Webengineview not loading videos

    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"


    }

    }

Similar Threads

  1. QML WebEngineView auto-adjust size
    By zethon in forum Qt Quick
    Replies: 0
    Last Post: 23rd March 2017, 01:26
  2. Replies: 1
    Last Post: 20th February 2017, 15:22
  3. WebEngineView - highlight issue.
    By ejoshva in forum Newbie
    Replies: 0
    Last Post: 14th July 2015, 13:29
  4. WebEngineView->findText()
    By ejoshva in forum Newbie
    Replies: 3
    Last Post: 17th June 2015, 13:10
  5. Mouseevents on a QwebView or WebEngineView
    By Tinu in forum Qt Programming
    Replies: 5
    Last Post: 8th April 2015, 09:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.