Skip to content
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

[Video] use dynamic import for hls.js #5429

Merged
merged 10 commits into from
Sep 25, 2024
Merged

[Video] use dynamic import for hls.js #5429

merged 10 commits into from
Sep 25, 2024

Conversation

haileyok
Copy link
Contributor

No description provided.

@arcalinea arcalinea temporarily deployed to hailey/dynamic-hljs - social-app PR #5429 September 19, 2024 20:23 — with Render Destroyed
Copy link

github-actions bot commented Sep 19, 2024

Old size New size Diff
10.39 MB 10.01 MB -385.78 KB (-3.63%)

Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • there's a race that needs to be fixed
  • this is also a bit stale compared to main, and more refactoring would be needed on main before the same approach can be made to work here. i've tried doing it here so you can try to use this but i think we also need to adjust the handleFragChange there (and on main), i'll make another ticket for that

@arcalinea arcalinea temporarily deployed to hailey/dynamic-hljs - social-app PR #5429 September 25, 2024 01:43 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to hailey/dynamic-hljs - social-app PR #5429 September 25, 2024 12:52 — with Render Destroyed
@@ -413,7 +416,7 @@ export function Controls({
<View
pointerEvents="none"
style={[a.absolute, a.inset_0, a.justify_center, a.align_center]}>
{buffering && <Loader fill={t.palette.white} size="lg" />}
{showSpinner && <Loader fill={t.palette.white} size="lg" />}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the above condition use showSpinner too instead of buffering? i have not tested visually closely

@arcalinea arcalinea temporarily deployed to hailey/dynamic-hljs - social-app PR #5429 September 25, 2024 16:07 — with Render Destroyed
@haileyok
Copy link
Contributor Author

Tested on the video feed w/ deployment, seems to be working good now. Appreciate you taking a look @gaearon

@haileyok haileyok merged commit 4730166 into main Sep 25, 2024
6 checks passed
@haileyok haileyok deleted the hailey/dynamic-hljs branch September 25, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants