-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zimit Videos are not playable on kiwix-desktop Windows #1276
Comments
@benoit74 MIght that be that we have some kind of problem with the user-agent or the resolution? |
I doubt (we never had a problem of user-agent or resolution with Youtube video, we always suspected but never got into this as far as I remember). We should first check with https://dev.library.kiwix.org/#lang=eng&q=zimit+test+website to get a better grasp of the problem. I will have a look. |
Testing with https://dev.library.kiwix.org/#lang=eng&q=zimit+test+website, it is now clear that the problem is not specific to Youtube but all (even very straightforward) inline JS. If you go to "Javascript" page on this test website, we see that all inline JS are failing (while working online in kiwix-serve at https://dev.library.kiwix.org/viewer#website.test.openzim.org_en_all_2024-12/website.test.openzim.org/javascript.html and in all other readers if I'm not mistaken). @veloman-yunkan do you have any clue where to look at? Problem is already present in 2.3.1, so for me this is not an issue which should stop release of 2.4.0 |
@benoit74 Thank you very much for the analysis! @veloman-yunkan if there is something unclear how these ZIM are working, please request a meeting to @benoit74 so you can clarify things. |
Yes, do not hesitate, zimit test website is really "plain simple", so do not hesitate if you need a small tour, it will probably be quick to explain. |
In the Linux build of
|
By looking at the HTML source of the inline Javascript test page (the snapshot is saved here) it's not surprising that the 01[a-r] tests fail - they all fetch data from an external URL (located at https://website.test.openzim.org/ or https://xn--wbsite-bva.test.openzim.org/). |
The set of failing tests is identical across Linux and Windows. Whereas the problem with video playback is only under Windows. |
It looks like in the Qt build used in our CI/CD under Windows proprietary audio and video codecs have not been enabled. https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs
|
Thank you! Let's focus back this issue on video problem on Windows then, looks like these are distinct issues. |
We should not have to activate the support of these propriatary codecs because we use webm. In addition we should not because this would imply probably paying license fee for our distributed software. |
I've opened #1281 for the inline JS part |
We do not use webm on zimit ZIMs, we use whatever the youtube player decided to use at crawling time. And it might be mp4. And indeed, this video is mp4. |
I've asked the question to webrecorder team to have a bit more details about where mp4 comes from: webrecorder/browsertrix-crawler#732 |
@benoit74 Thank you, I think we have two issues:
|
With cutting edge dev version of Kiwix Desktop on Windows
(download ZIM at https://dev.library.kiwix.org/#lang=&q=quartier)
See
But it works online:
https://dev.library.kiwix.org/viewer#mes-quartiers-chinois_fr_all_2024-12/mesquartierschinois.wordpress.com/
The text was updated successfully, but these errors were encountered: