Caption can not turn off at iOS Safari #4940
Labels
component: captions/subtitles
The issue involves captions or subtitles
platform: iOS
Issues affecting iOS
priority: P2
Smaller impact or easy workaround
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.3
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from
main
?yes
Are you using the demo app or your own custom app?
https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8;panel=ALL_CONTENT;panelData=HLS,SUBTITLES;build=uncompiled
What browser and OS are you using?
iOS Safari
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
What configuration are you using? What is the output of
player.getConfiguration()
?autoShowText: ' ALWAYS'
What did you do?
Open a HLS with Subtitles in iOS safari browser.
When the Caption turned on initially it can not turn off.
After switch to another language, it can be turn off.
What did you expect to happen?
Caption can turn off.
What actually happened?
I found that
player.setTextTrackVisibility(false)
is not working in this case.player.isTextVisible_
isfalse
but it should betrue
.shaka-player/lib/player.js
Lines 4429 to 4436 in 67a2451
The text was updated successfully, but these errors were encountered: