-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
772 after resuming app ios video displayed black #801
772 after resuming app ios video displayed black #801
Conversation
@BPerlakiH Any user visible side effect (beside the fix obviously)? |
User impact: it is not fixing it immediately, there's a slight delay after re-opening the application, so the black screen is visible for a moment, after that it fixes the issue. |
@BPerlakiH There is way to trigger this earlier than ondisplay()? For example when the app gets out of hibernation? |
Actually, I had to wrap the call into a "Task" so it executes slightly later (next run loop), as the "black screen" problem appears somewhat later than "onAppear". |
Hmmm, I guess we can still do better. Video.js has a feature to set a "poster" overlay. Would that not be a solution to capture the frame a put it on the top, so, even if video goes black, this will be hidden in the background. See https://stackoverflow.com/questions/27583937/how-can-i-make-a-css-glass-blur-effect-work-for-an-overlay/27592975#27592975 |
Yes, possibly we need further investigation why this is happening in the first place... |
I'm not very satisfied from current PR. Lets talk about that later this week. |
…k, due to another high memory consuming app
5fa5c8e
to
0498c94
Compare
I'm a bit surprised about this, but it seems there is no way tomdo better. Merging. |
Fixes: #772
Note: So far I only found this "hacky" javascript solution to fix this issue.
The traditional "low memory" warning triggers are not called in this case, therefore this black screen side effect is not due to that.
By playing and pausing the video (one after another) fixes this.
The fix is applied if: