-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix video not loading after regaining internet connection #37674
Fix video not loading after regaining internet connection #37674
Conversation
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
This bug also happens on other platforms (native/mWeb) and is successfully fixed by this PR. Could you also include Screenshots/Videos for all of the platforms? |
…-internet-connection
@eVoloshchak sorry, I was busy with live markdown preview implementation. I will add videos today. However, I'm not sure how can I show it o iOS since, app on simulator don't return to online state after regaining internet connection |
It does in my tests Screen.Recording.2024-03-12.at.20.58.28.mov |
…-internet-connection
Idk I can't reproduce that, after turning off internet it stays in offline mode. However I've added android videos to the PR. Can we proceed without iOS ones? Screen.Recording.2024-03-14.at.12.27.45.mov |
@Skalakid, sure, no problem, I'll test iOS and upload the videos |
@eVoloshchak I've added this change because in some cases video wasn't playing after regaining Internet connection. However after merging with main I can't reproduce that any more without this change. So I think we can remove it. Thanks |
@eVoloshchak bump |
@Skalakid, I think I managed to reproduce this case on Safari mobile, looks like this change was needed indeed Screen.Recording.2024-03-19.at.12.18.01.mov |
@eVoloshchak Okay, I've added these changes again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Skalakid, that didn't do the trick, this is still reproducible on mWeb Safari/Chrome
Screen.Recording.2024-03-20.at.16.58.03.mov
…-internet-connection
@eVoloshchak can you check now, please? After merging the latest main I can't reproduce this issue ios.safari.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Native24-03-21-16-56-21.mp4Android: mWeb ChromeScreen.Recording.2024-03-21.at.16.50.47.moviOS: NativeScreen.Recording.2024-03-21.at.16.59.34.moviOS: mWeb SafariScreen.Recording.2024-03-21.at.16.49.12.movMacOS: Chrome / SafariScreen.Recording.2024-03-21.at.17.00.42.movMacOS: DesktopScreen.Recording.2024-03-21.at.17.02.18.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mountiny bump |
…-internet-connection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks everyone! Sorry I was ooo
Details
This PR fixes a problem with video loading infinitely after regaining the internet connection.
Fixed Issues
$ #36903
PROPOSAL:
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
chrome.mov
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov