-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Subtitles only downloading a single file #8632
Comments
looks like it's failing due to the use Seems like shaka also stops loading it at the first EMPTY |
Do you mean that it needs an extension? I changed it to But if you referring to it being empty as a problem, then that shouldn't be the case, because it states that's possible in the spec:
|
I changed it so the first track isn't empty and it's still not loading the data, so it appears there's an issue with the handling of |
Definitely possible that it isn't supported. Last I checked, it seemed like it could have because the init segment gets downloaded in the vtt segment loader (https://github.com/videojs/http-streaming/blob/main/src/vtt-segment-loader.js#L82), which is where I paused my investigation last time. So, it could be downloaded but not applied as expected. Should be fixed, though, I've rarely seen init segments used for vtt files. |
Is there a better way to handle having to set Using init segments for VTT files is the best option I've found for doing that |
to be clear, you shouldn't need to do anything. However, to get things working now, you probably need to make sure that the VTT segments are complete and include the init the body section. |
Can you point me at an example that does a livestream with subtitles that doesn't use |
the timestamp map is still used, it's just in every file. For example, https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-multiple-subtitles.ism/.m3u8 |
Here's 4 different versions of storing the subtitle info with |
Description
Safari and HLS.js download all of the subtitle files, but Video.js appears to only download a single file and then stop rather than downloading all of the files in the manifest
Reduced test case
https://awresports-hls-dev.s3.amazonaws.com/jccc_1_1/m3u8/2024/02/29/19/index.m3u8
Steps to reproduce
Errors
No error output is observed
What version of Video.js are you using?
8.10.0
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
122.0.6261.94 (Official Build) (x86_64)
What OS(es) and version(s) does this occur with?
14.3.1
The text was updated successfully, but these errors were encountered: