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. WebEngineView and navigator

WebEngineView and navigator

Scheduled Pinned Locked Moved QtWebEngine
navigatorwebrtcjavascript
3 Posts 2 Posters 1.5k 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
    QtMac
    wrote on last edited by
    #1

    Hi all,

    Inside WebEngineView I load an index.html and a JavaScript file.

    when using the navigator object inside 'index.html':

    • I code "window.navigator = window.navigator || ..."
    • then write "alert( window.navigator)" and it shows: [object Navigator], which means it's OK.
    • then I code "if (navigator.getUserMedia !== null ) {" and an alert which says 'getUserMedia' is supported because it is not null.
    • then I code "navigator.getUserMedia( { video:true, ..." and it does not do anything.
      => Does this mean that 'getUserMedia' does not work with an HTML5 document inside 'WebEngineView"? or what else?

    I'd greately appreciate anyone's help.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      QtMac
      wrote on last edited by
      #2

      Hi all,

      after thirteen days waiting for a possible response, I finally arrive to several conclusions:

      • this is not a very communicative community
      • nobody has the knowledge to answer
      • the promised implementation is not yet done, that's why the silence, and nobody dares to state that

      thanks anyway for all of you having given a minute to view this.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        QtWebEngine is a very new module and since this forum is community driven, it'll need some time to build the knowledge around it. You can also check the interest mailing list for help.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

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