Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QT Webkit cannot play html5 video
Forum Updated to NodeBB v4.3 + New Features

QT Webkit cannot play html5 video

Scheduled Pinned Locked Moved Qt WebKit
12 Posts 7 Posters 10.4k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    ndims
    wrote on last edited by
    #1

    I built the youtoubeview example, but I cannot play any video.
    All I get from youtube is text stating that an Adobe Flash Player or a browser supporting HTML5 is required, in front of a static noise background.

    I installed qt-windows-opensource-5.1.0-android-x86-win32-offline.exe
    Do I need additional Packages to fully support HTML5 on windows7?

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      why do you download the release package for android when you do want to develop for win7? Or did i get something wrong?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • B Offline
        B Offline
        brcontainer
        wrote on last edited by
        #3

        I noticed this today too.

        The player says he does not support html5, but it is actually a message from youtube (apparently a lock)

        Note: actually youtoubeview is an example for the mobiles.

        QT project: https://github.com/brcontainer/qt-helper

        1 Reply Last reply
        0
        • N Offline
          N Offline
          ndims
          wrote on last edited by
          #4

          The problem remains with Qt 5.1.1.

          The player is shown correctly, and shows the preview image and the player controls, but when the video should actually start playing, the widget just stays black on MinGW4.8, or the above mentioned message is displayed on VS2010 32bit. I did a comlete reinstall with the online installer, installing only 5.1.1 with Creator 2.8.1 and MinGW 4.8.

          Going to http://www.youtube.com/html5 with the VS2010/32bit version of the browser demo reveals that webkit cannot play HTML5-Videos (no video tag, no h.264, no WebM) when compiled with VS2010/32bit.

          The debug MinGW 4.8 version of the browser demo exits with a segmentation fault, with the release version, http://www.youtube.com/html5 says video tag, h.264 and WebM are all supported, but when entering the html5 test, the web player behaves just like the iframe version.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            brcontainer
            wrote on last edited by
            #5

            Great news for QT developers, we will soon have the Qt WebEngine(QT + blink):

            http://blog.qt.digia.com/blog/2013/09/12/introducing-the-qt-webengine/

            QT project: https://github.com/brcontainer/qt-helper

            1 Reply Last reply
            0
            • N Offline
              N Offline
              ndims
              wrote on last edited by
              #6

              Tried again on a different PC with a new installation, same behaviour. This issue is not listed in the known Bugs, and I couldn't find any other reference to it on the internet. Has nobody else encountered this? I still think I am missing something.

              Can anyone help or at least confirm this?

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aashish.lg
                wrote on last edited by
                #7

                Hi,

                I am also facing almost same kind of problem.
                I am trying to open URL http://www.youtube.com/watch?v=JYc2jP4LLGo&html5=True in my webkit application, as well as in Qt sample browser application.

                I could able to see youtube player getting loaded but it will not display any html5 video.

                QtSDK:- 5.1
                Win732bit

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Ackeard Oct
                  wrote on last edited by
                  #8

                  +1 (((

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    brcontainer
                    wrote on last edited by
                    #9

                    Works in QT5.2!

                    if the QT is 32bit, then you must install the 32bit codecs too.

                    QT project: https://github.com/brcontainer/qt-helper

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      darbor
                      wrote on last edited by
                      #10

                      Could you can preview example to correct play video
                      mp4 or webm in qt 5.2 32bit?

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        seang96
                        wrote on last edited by
                        #11

                        I am having this issue and need to figure out how to fix it. I am on 5.2.0 and any video using video tag has sound but does not display video.

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          brcontainer
                          wrote on last edited by
                          #12

                          seang96 your System is 64bit? QT compiler (eg. Mingw 32bit or vs2012 32bit in Windows) is 32bit?

                          Please install codecs for 32bit.

                          QT project: https://github.com/brcontainer/qt-helper

                          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