Is there an existing issue for this?
Which package(s) or projects are affected?
SPF (@videojs/spf)
Browser/OS/Node environment
windows chrome - latest
Description
Looks like stream has TTML and WVTT - but the wvtt looks funky. May not be an issue but was a Mux sample
https://test-streams.mux.dev/tos_ismc/main.m3u8
Reduced test case
https://muxed-dev.s3.us-east-2.amazonaws.com/dh-hls.html
Steps to reproduce
- Load stream: https://test-streams.mux.dev/tos_ismc/main.m3u8
- click UI button to activate subtitles
Current Behavior
activating subtitles throw error
Expected Behavior
subtitles should work or console error why not
Errors
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_1.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_2.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_3.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_4.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_5.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_6.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
"
What version of the package are you using?
html@10.0.0-beta.6
Is there an existing issue for this?
Which package(s) or projects are affected?
SPF (@videojs/spf)
Browser/OS/Node environment
windows chrome - latest
Description
Looks like stream has TTML and WVTT - but the wvtt looks funky. May not be an issue but was a Mux sample
https://test-streams.mux.dev/tos_ismc/main.m3u8
Reduced test case
https://muxed-dev.s3.us-east-2.amazonaws.com/dh-hls.html
Steps to reproduce
Current Behavior
activating subtitles throw error
Expected Behavior
subtitles should work or console error why not
Errors
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_1.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_2.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_3.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_4.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_5.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
load-text-track-cues.ts:85 Failed to load VTT segment: Error: Failed to load VTT segment: https://test-streams.mux.dev/tos_ismc/tos_subs/text_6.mp4
at HTMLTrackElement.a (parse-vtt-segment.ts:48:14)
st @ load-text-track-cues.ts:85
await in st
(anonymous) @ load-text-track-cues.ts:269
(anonymous) @ combine-latest.ts:87
flush @ create-state.ts:227
(anonymous) @ create-state.ts:246
"
What version of the package are you using?
html@10.0.0-beta.6