Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT Webkit cannot play html5 video
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?
why do you download the release package for android when you do want to develop for win7? Or did i get something wrong?
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.
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.
Great news for QT developers, we will soon have the Qt WebEngine(QT + blink):
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?
aashish.lg last edited by
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.
Ackeard Oct last edited by
Works in QT5.2!
if the QT is 32bit, then you must install the 32bit codecs too.
darbor last edited by
Could you can preview example to correct play video
mp4 or webm in qt 5.2 32bit?
seang96 last edited by
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.
seang96 your System is 64bit? QT compiler (eg. Mingw 32bit or vs2012 32bit in Windows) is 32bit?
Please install codecs for 32bit.