Fixed
Project:
Rijksvideo
Version:
2.0.0-alpha7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2026 at 12:35 UTC
Updated:
13 Oct 2026 at 11:34 UTC
Jump to comment: Most recent
Subtitles cannot currently be enabled by default per video.
Create a Rijksvideo with captions; subtitles remain disabled until the user enables them.
Add a checkbox to enable subtitles by default and activate the default caption track.
Review and test the implementation.
Adds a “Show subtitles by default” checkbox to the Rijksvideo form.
None.
Adds the boolean media field field_rijksvideo_show_subtitles.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
emielb commentedThanks for this input, we appreciate it.
That said, we'd prefer to handle this in the settings rather than per video. There is already a settings form, and it makes sense to have an option there to enable subtitles by default everywhere, rather than toggling it on each individual video.
Would you be open to moving the "Show subtitles by default" option into the existing settings form instead of adding a per-video field?
Comment #4
daaan commentedThanks for the feedback, that makes sense as a common use case.
I’d prefer to keep this as a field rather than (only) a global settings option, because we specifically need per-video control as well.
Suggested approach that covers both scenarios without cluttering the form for everyone:
That way:
A settings-only toggle would work for the “everywhere” case, but it would remove the ability to enable/disable this per video which is a requirement for our project.
Would you be open to that compromise? Happy to update the MR accordingly (hide the field on the default form display + document the two configuration options).
Comment #6
emielb commented