Skip to content

Add support for captions in <youtube-video> element for Media Chrome #164

@ronalduQualabs

Description

@ronalduQualabs

As seen in #160, the element is gaining text track support. However, the element still does not expose captions/subtitles in a way that works with Media Chrome’s textTracks integration.

Current behavior
• YouTube videos may have captions available via the YouTube player API.
• The element does not currently map these captions to TextTrackList.
• As a result, Media Chrome controls (like subtitle menus) cannot display or toggle captions.

Expected behavior
• should expose captions/subtitles through the standard textTracks API.
• Media Chrome should be able to list and toggle these tracks just like with native

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions