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

Strange network behaviour for some videos #114

Open
SudevKiyadaTR opened this issue Aug 5, 2024 · 4 comments
Open

Strange network behaviour for some videos #114

SudevKiyadaTR opened this issue Aug 5, 2024 · 4 comments

Comments

@SudevKiyadaTR
Copy link

SudevKiyadaTR commented Aug 5, 2024

Hi there!

Been using the lib since past 3-4 months. We have observed a particularly strange behaviour with some of the videos in Svelte.

The page doesn't load up the video correctly while firing the URL on new tab. It receives multiple 304s but never loads up the video. The video loads up fine upon subsequent hard refreshes.

While this doesn't happen every time, I was able to narrow it down to some videos leading to this behaviour.

I would expect something like that for larger videos, but that was not the case during my inspection. Attaching one of such videos where I am facing the said issue.

drone.mp4

Screenshot 2024-08-05 at 10 40 52 AM

Debug log
console.log

@SudevKiyadaTR
Copy link
Author

Update:
If it helps, I was able to get it to load up fine by bumping up the timeout set in videoDecoder.js to close the decoder.

@dkaoster
Copy link
Owner

dkaoster commented Aug 6, 2024

Hi @SudevKiyadaTR! I haven't seen this issue myself, but do you have minimal reproduction case of the code you're using? I am very curious about why this might be happening as well.

@SudevKiyadaTR
Copy link
Author

Hey @dkaoster, created a sandbox here with a preview link here.

@dkaoster
Copy link
Owner

hi @SudevKiyadaTR I'm not able to see the 304s as you've mentioned. You're saying that it only shows up for certain videos and only with the svelte component? Does this error show up in the pure js version as well?

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

No branches or pull requests

2 participants