-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Re-assess / rollback JS fixes for videos #939
Comments
Is there any issue opened somewhere (in video.JS repository?) to track the fact that this is not working properly and should be fixed upstream? I don't mind to open the issue(s) if needed, but you probably have more context + these issues should be linked here so that we know when / if the issue is fixed upstream. |
It's not a video.js bug ; see #916 (comment) |
These issues could be "worked-around" at video.JS level because all video.JS users with an iPhone 17 have the problem. Video.JS could probably detect that condition and remove the poster / add the playsinline ; or do I miss something? |
Possibly, I think all the selection criteria are available in User-Agent and video format Here's my UA in Kiwix 3.5.1 on macOS 14.6.1 for instance
Same on Safari
Now on affected iPhone
And on Safari
|
@benoit74 I would like to move this issue in |
This problem is specific to apple platforms, so I don't think it really helps to move the issue. The real problem is in these apple platforms / readers, the scraper is producing valid HTML5 code, only apple platforms are not capable to process it correctly. And once problem is solved in video.JS, we still need to rollback JS fixes in kiwix-apple. What is your intention by moving this issue? (if the goal is that I work on this issue rather than @BPerlakiH, then just assign me this issue, I don't mind to work on kiwix-apple issue ^^) |
I have assigned the issue to @benoit74. I will postponed the issue to the next milestone. At this stage the point is to move the issue where the root cause is and will be fixed, do we already know where it will be? |
I need help to reproduce the issue. I tried to setup a basic HTML page with "what looks to be the bug condition": a video.js player, with a When I open the page on iOS 17 iPhone on browserstack with Safari, I do not get the bug. Is it because the bug only happens with our web view ? Do you have a chance to test this ? I do not own any iPhone and I do not have a simulator, so pretty hard for me to go further. And without a simple repro, it will be hard to get video.js folks attention. Btw, is it correct the web view component we are using is named |
@benoit74 please read my previous comment here pointing to this other comment of mine |
Thank you, I missed that! Are you able to quickly check it is still a problem with latest iOS 17 then? (I would prefer to not open an issue if bug has been fixed by Apple) |
@benoit74 you mean iOS18 I guess? I just tested and it's still not working properly but symptom is not reliable: sometimes I get correct video playback but no sound, sometime, I have both video and sound but it's jerky. |
I meant latest iOS 17 in case they've patched it since the previous tests. But iOS 18 is fine as well. Thank you anyway! |
Issue opened upstream: videojs/video.js#8895 I did not spoke about |
Previously we were fixing reader side the following attributes in the content
<video>
html tag (for iPhones on iOS 17 only):poster
is removedplaysinline
is addedIf there's a content side way to fix this, we should remove these hacks.
The text was updated successfully, but these errors were encountered: