Closed rgaudin closed 4 years ago
@rgaudin I think that doing the following would be good while testing- Do the following on a zim created by zimfarm and another one manually created using the master branch.
zimfarm and non-zimfarm have no reason to produce different output so we should probably select one ZIM produced by a known (latest) version and we can repeat this test after some major change (ideally each release).
here's the matrix I have in mind
Readers/Features | Version Platform | Platform version | Home UI OK | Video UI OK | VideoJS UI | Plays video | Has Sound | Duration OK | Play/pause button | Play | Pause | Fullscreen | Seeks | Streams OK |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Kiwix Android | 3.2.1 |
Android | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Kiwix Desktop | 2.0.1-1 |
Windows | OK | OK | OK | Sometimes/Sometimes not - Shows corrupted video or using a feature which is not available error (Needs to be tested more) | Yes (when video plays) | OK (when plays video) | OK (when plays video) | OK (when plays video) | OK (when plays video) | OK (when plays video) | OK (when plays video) | OK (when plays video) |
Kiwix Desktop | 2.0.1-1 |
Linux | ||||||||||||
Kiwix macOS | 2.1 |
macOS | OK | OK | OK | OK | OK | OK | OK | OK | OK | Broken | Broken | OK? |
Firefox/kiwix-serve | 75.0 |
Windows | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Firefox/kiwix-serve | 75.0 |
macOS | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Firefox/kiwix-serve | 75.0 |
Linux | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Firefox/kiwix-serve | 75.0 |
Android | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Chrome/kiwix-serve | 81.0 |
Windows | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Chrome/kiwix-serve | 81.0 |
macOS | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Chrome/kiwix-serve | 81.0 |
Linux | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Chrome/kiwix-serve | 81.0 |
Android | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
Safari/kiwix-serve | 13.1 |
macOS | OK | OK | OK | OK | OK | OK | OK | OK | OK | Broken video not scaled but on black screen for page video, just black screen without video (but audio continues) on home page | Broken | OK |
Safari/kiwix-serve <800px | 13.1 |
iOS | OK | OK | OK | Broken - in-video UI displays but no sound nor video. no error in console | Broken | OK | No | No | No | Broken - moves video to top half of scren | No | No |
Safari/kiwix-serve >800px | 13.1 |
iOS | OK | OK | OK | OK | OK | OK | OK | OK | OK | Broken - moves video to top half of scren | Broken | OK? |
Edge/kiwix-serve | 81.0 |
Windows | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK | OK |
I think it's worth testing same browser on different platforms as a video relies a lot on the platform but I'm not sure if we should care about Edge as it seems to be based on chrome engine.
sound on desktop https://github.com/kiwix/kiwix-desktop/issues/425
@rgaudin I have tested on various platforms. Found some errors on Kiwix Desktop on windows
Also, on my network I used kiwix-serve on a Linux (Ubuntu 19.10) PC to serve the ZIM. However, when viewing that from any browser in Windows gave some weird characters at the end of the page. I can confirm this is not an issue with YouTube but with kiwix-serve as ZIMs created by other scrapers also had the same problem in viewing.
For youtube scraper, all I did not re-encoded the videos in low quality to save a bit of time in all my tests. Also, I got a blank screen in Kiwix Desktop on Ubuntu 19.10. I used the appimage version. Can somebody confirm on this?
I've also seen many video glitches testing kiwix-desktop on windows (for the other issue). Sometimes it would get really slow, sometimes I would get visual noise, sometime video would freeze but audio continues…
I'm more interested in the kiwix-serve issue if you could elaborate, including kiwix-serve version so we can maybe open a ticket somewhere.
@satyamtg what ZIM/format/quality did you use for your tests?
Updated with macOS and IOS. We have a regression at the moment. It doesn't work at all on iOS. @kelson42 could you test with your iPad ?
Actually works (plays, pause, audio) in landscape.
Updated with macOS and IOS. We have a regression at the moment. It doesn't work at all on iOS. @kelson42 could you test with your iPad ?
It's not a regression actually. This is the same behavior with old and new ZIM files. I was testing with my phone which has a widh < 800px so that's the same old bug there.
@satyamtg what ZIM/format/quality did you use for your tests?
I actually scraped my own channel which I created long back using the master branch. For format I used webm and didn't use the low-quality option. For a reference, I'll leave my ZIM file here. Didn't bother to change the name though so it still uses "universcience-tv". https://drive.google.com/file/d/1RatdLf8PaD33JQuKMRyGPmUEgL4Wzgcg/view?usp=sharing
It's not a regression actually. This is the same behavior with old and new ZIM files. I was testing with my phone which has a widh < 800px so that's the same old bug there.
@rgaudin is this happening only with Safari? Because my phone's width is also <800px but it seems to work good on Chrome on Android. I can't test on Safari though as I don't own any MacOS/iOS device.
A lot of this seems related to #34 where I posted some information.
I'd like to suggest we run a thorough test of recent zim files on all readers and browsers with current kiwix-serve before making big change like videojs/deps update as it's easy to break things on specific readers/browsers (remember: we patch those libs).
I've noticed some things that were working seems to have difficulties now and since libkiwix changed stuff regarding to videos, we should make sure everything's working as expected first and/or open tickets.
We can split this work across people once we have a methodology (what to test, how)