Bug 258116 - Subtitles menu button does not update when mode is changed through the API when in fullscreen
Summary: Subtitles menu button does not update when mode is changed through the API wh...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-15 02:22 PDT by jeroen.veltmans
Modified: 2023-06-20 08:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeroen.veltmans 2023-06-15 02:22:39 PDT
Steps to reproduce:
1) Create a basic page with a video element that has a source with native text tracks
2) Make sure you are in native fullscreen
3) Change the text track mode by selecting the video element and executing "$0.textTracks[0].mode = 'showing'"

What is the expected behavior?
The subtitles menu shows the actual track mode that was set through the API.

What is the actual behavior?
The subtitles menu button isn't changed at all.
Comment 1 jeroen.veltmans 2023-06-16 01:58:01 PDT
I made a reproduction page with a test source: https://s3.eu-west-1.amazonaws.com/engineering.public-unsafe/jeroen.veltmans/iOS-subtitle-bug/video.html

Pause at 2:50 in the video to see the Chinese tracks. Then execute the same steps I mentioned before to notice the issue.
Comment 2 Radar WebKit Bug Importer 2023-06-20 08:35:46 PDT
<rdar://problem/111042760>