-
Notifications
You must be signed in to change notification settings - Fork 995
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
Files over HTTP do not support 206 Partial Content #1343
Comments
I see that there is support for 206 responses in some capacity, am I just doing something wrong? |
Looking at the code, the Range is only checked for the app assets (public folder), not to downloaded files, will fix it. |
Range request are not working correctly in my case, actually I may do something wrong, but it only fails using the capacitor server... I opened this issue explaining the use case. Is quite annoying since I can't put sound in my app... well... I can maybe play the first 3 seconds of the audio 🤣 , just kidding, but any help would be really appreciated :) ! |
HTML5
<audio>
and<video>
elements make use of Range requests to estimate media duration, and facilitate seeking. It appears that Capacitor's file server, at least on Android, does not support theRange
header on requests:Along with serving correct
Content-Type
headers, I feel this feature is necessary for streaming media from the filesystem.The text was updated successfully, but these errors were encountered: