Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59291

Embedding YouTube or Vimeo video causes rendering issues in QWebView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: WebKit
    • Environment:
      Windows

      Description

      Embed a YouTube or Vimeo video into a webpage and play that video in QWebView. Now, when you hover the mouse over any of the player controls the video gets distorted for a short time and then gets back to normal until you hover the mouse again. See the attached screenshot (qtbug_webkit.png), it is the same frame with and without the issue.

      This problem can be reproduced with Fancy Browser example. Either show the attached html page (qtbug.html) and hover over the player controls or use YouTube with following steps: play any video, click "Share", "Embed", "Show more", and play the preview video and hover the mouse.

      I have seen the problem on Windows 7. I was also reported that this happens also on MacOS, but I was not able to verify that. Linux/Ubuntu works fine. The video plays correctly if I load directly the embedded link i.e. https://www.youtube.com/embed/<video_id>. YouTube offers the link in <iframe> tag, but the problem was there also with <object> tag and with other workaround attempts.

        Attachments

        1. qtbug_webkit.PNG
          qtbug_webkit.PNG
          130 kB
        2. qtbug.html
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            annulen Konstantin Tokarev
            Reporter:
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes