Repository navigation
Conversation
Since the update to react-player 3, the `config` option that the video player used is ignored. The subtitle track was never added, so subtitles and chapter titles did not show in the video. The poster for audio-only videos did not show either. Add the subtitle as a `<track>` element instead and set the poster on the video element. The Firefox workaround for subtitles is removed, as it only worked with a single video on the page. This commit was largely AI generated.
The list measured the space it was given, and also contributed to that space. When the window got bigger, the list grew with it, but it never got smaller again, and the page stayed too high. Take the list out of the layout flow, so that it only measures. This commit was largely AI generated.
|
This pull request is deployed at test.editor.opencast.org/1752/2026-11-27_09-17-20/ . |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes two issues in the subtitles view:
How to test this
Create subtitles and make sure they show up on the video. Resize the window and make the sure the CSS is not going haywire.
AI Usage
Claude Sonnet 5 was used for this.