Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Video plays with 5.14.2 but not with 5.5.0
Hi. I created a WebEngine application that plays a video(.ogv) with Qt 5.14.2 and also i compiled qt 5.5.0 separately on windows 7(target > Xp).
When i compile the application and try to run it, it won't play video. on 5.5.0.
@LinArcX I also tested with Qt 5.6.3 and 5.5.0 prebuilt binaries that provided by qt archive website. But they can't play video.
Note that it doesn't show video on windows 7 either.
Oh! I realized something.
If i replace the address in html page wit absolute path it'll work in Qt5.6.3 binary prebuilt.
But this time i get white page in Qt5.5.0 that i built myself and also Qt5.5.0 binary prebuilt.
I found the solution. Just replace relative path with absolute path like this:
<video width="100%" height="100%" autoplay muted loop> <source src="file://D:/foo.ogv" type="video/ogg"> Your browser does not support the video tag. </video>
And run the app with
--disable-web-securityoption will shows the video.
But it's not a perfect solution. Why relative path doesn't work in Qt5.5.0?
LinArcX last edited by LinArcX
Also another interesting thing.
If i wana run application that uses Qt5.5.0 and deploy it on windows xp, it'll crash in video page.
But running it through DependencyWalker is fine!