Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

Width and Height fields of FileVideoFormatter (admin/structure/media/manage/video/display) are now optional fields.

Before

https://www.drupal.org/files/issues/2024-02-01/Beforepatch_dimentionfield.png

After

https://www.drupal.org/files/issues/2024-02-01/Afterpatch_dimentionfield.png

  • If neither dimension is provided, the video will be rendered in its original aspect ratio.
  • If only width or height is provided, the video will use that dimension.
  • If both width and height are provided, the video will be rendered with those dimensions.
Impacts: 
Site builders, administrators, editors