Skip to content

Add subtitleTrack and closedCaptions properties to CUES_PARSED event#7843

Merged
robwalch merged 1 commit intomasterfrom
enhancement/cues-parsed-track-object
May 9, 2026
Merged

Add subtitleTrack and closedCaptions properties to CUES_PARSED event#7843
robwalch merged 1 commit intomasterfrom
enhancement/cues-parsed-track-object

Conversation

@robwalch
Copy link
Copy Markdown
Collaborator

@robwalch robwalch commented May 7, 2026

This PR will...

Add subtitleTrack and closedCaptions properties to CUES_PARSED event.

Why is this Pull Request needed?

Provides detailed track information like subtitles language or captions instream-id with CUES_PARSED otherwise not available outside of NON_NATIVE_TEXT_TRACKS_FOUND event.

Are there any points in the code the reviewer needs to double check?

New property names align with those already present in NON_NATIVE_TEXT_TRACKS_FOUND.

Resolves issues:

Resolves #6680

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.8.0 milestone May 7, 2026
@robwalch robwalch modified the milestones: 1.8.0, 1.7.0 May 7, 2026
@robwalch robwalch merged commit 92c1059 into master May 9, 2026
16 checks passed
@robwalch robwalch deleted the enhancement/cues-parsed-track-object branch May 9, 2026 03:00
@github-project-automation github-project-automation Bot moved this from Top priorities to Done in HLS.js Release Planning and Backlog May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

WebVTT: Some CUES_PARSED events contain stale data when changing subtitle track, leading to duplicate text cues

1 participant