Skip to content

Conversation

@domlander
Copy link
Contributor

@domlander domlander commented Dec 20, 2025

What does this change?

Preload partial data (metadata and also part of the video) when the video is expected to play.

Improves comment.

Why?

Fixes a bug with preloading metadata. The comment was correct but the code was wrong.

Simplifies the code and removes an unnecessary useEffect.

Notes

The preload attribute is sometimes ignored by browsers. I was finding this to be true when testing a HLS video on Chrome on Macbook.

@domlander domlander force-pushed the doml/simplify-preload-data branch 3 times, most recently from 263daa8 to 3c7d2bb Compare December 20, 2025 11:31
@domlander domlander force-pushed the doml/simplify-preload-data branch from 3c7d2bb to d8c83ce Compare December 20, 2025 11:34
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.

2 participants