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. QWebEngine - Netflix support
Forum Update on Monday, May 27th 2025

QWebEngine - Netflix support

Scheduled Pinned Locked Moved QtWebEngine
5 Posts 3 Posters 6.0k 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.
  • M Offline
    M Offline
    maximus
    wrote on last edited by
    #1

    I'm trying to run Netflix streaming inside a QWebEngineView.

    So far it seems to almost work, better than with my previous attempt with QWebView
    Here is the message I get:
    https://www.dropbox.com/s/t16k2co1zg0k24q/netflix.png?dl=0

    Is there any way to set the "user agent" inside a QWebEngineView. with the QWebView, you could set it on the QWebPage in order to change the default user agent returned. I would like to try and test with another user agent to see if Netflix could work.
    I see this is possible with QWebEngineProfile, but where is this class exactly? is it in 5.4.1?
    Thanks!


    Free Indoor Cycling Software - https://maximumtrainer.com

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

      Hi,

      I would have said userAgentForUrl of QWebEnginePage, but it looks like its not yet implemented

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        I would have said userAgentForUrl of QWebEnginePage, but it looks like its not yet implemented

        M Offline
        M Offline
        maximus
        wrote on last edited by maximus
        #3

        @SGaist
        Thanks, I'll wait for it.
        With QWebView you had to subclass QWebPage and implement userAgentForUrl(QString url) and I returned something different for netflix website, so it thinks I'm using chrome. Hacky but works ;)
        I really like QWebEngineView so far, automatic cookie management is a nice feature.
        plus flash seems to work out of the box


        Free Indoor Cycling Software - https://maximumtrainer.com

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maximus
          wrote on last edited by
          #4

          Found an anser here :

          http://unix.stackexchange.com/questions/172364/netflix-works-on-chrome-but-not-chromium

          For Chromium to work with Netflix you have to have this plugins inside Chromium : Widevine Content Decryption Module
          This plugin is installed by default in Chrome but not Chromium due to licensing reason (Widevine is not open-source).
          Trying to find a way to install it inside Chromium
          Thanks


          Free Indoor Cycling Software - https://maximumtrainer.com

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jeremyyelle
            Banned
            wrote on last edited by
            #5
            This post is deleted!
            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