classtranscribe / classtranscribe/liveplayer
Closed Caption Control Button Initial setting not syncd with caption display
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
If Closed Captions control button in the control bar is initially enabled, closed captions need to be toggled off and on to display captions.
Todo: verify the behavior of the closed captions in the settings panel. Originally it was assumed this was due to the video element being out of sync with the boolean state stored in the react model when it is first initialized. However the captions are displayed by other react code (src/screens/Watch/Components/Overlays/ClosedCaption/index.js).
See
````sh
grep -r 'openCC' src
````
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running grep -r 'openCC' src and inspect src/screens/Watch/Components/Overlays/ClosedCaption/index.js. Verify closed-caption behavior when the control button is initially enabled, including the settings panel, and compare the displayed captions with the initial React model state. Done means captions display correctly without requiring an off-and-on toggle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100