Follow-up to [#3616068] [10.x] Video.js dialog fixes

  • Make the dialog title and description configurable (none, entity label, custom with tokens, or text fields of the entity). Nothing is printed by default, so the (often internal) media name is no longer exposed.
  • Add a fallback accessible name to the dialog popup if no title is set.
  • Don't wrap the thumbnail in the trigger button, stretch the button over the thumbnail instead.
  • CSS quickfixes for the library dialog styles: sensible max-width (--videojs-dialog-max-width), position: fixed for backdrop & popup to cover the viewport and z-indexes aligned with Drupal core dialogs (--videojs-dialog-z-index).
  • Explicitly attach videojs/base to the dialog trigger.

Related to #3616068

Merge request reports

Loading
Loading