Skip to content

Question about disabling captions in safari using native HLS #8840

@Maadtin

Description

@Maadtin

If the question is related to FairPlay, have you read the tutorial? YES

What version of Shaka Player are you using?
4.15.5

What browser and OS are you using?
Safari

Please ask your question

Hello, I just wanna understand how is disabling the captions supposed to work using setTextTrackVisibility method on native HLS playbacks, where is the best place to call this method so subs don't show? calling it right after load doesn't seem to work but in the 'playing' event on the video seems to do the trick, is this the best place? here's a little codesandbox that reproduces the 'problem', this doesn't seem to happen when using modern EME playback on safari though.

Metadata

Metadata

Assignees

Labels

browser: SafariIssues affecting Safari or WebKit derivativescomponent: captions/subtitlesThe issue involves captions or subtitlespriority: P2Smaller impact or easy workaroundtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions