Cover: Video - Add position controls #22509
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Enhancement
A suggestion for improvement.
At the moment, the horizontal and vertical background positioning controls only work for Cover images. Cover videos lack this feature.
I think it would be helpful to add feature parity with video backgrounds.
To achieve the same positioning MATH,
<video />
styles can use object-position.This will also give as an opportunity to improve the
FocalPointPicker
component a bit.I've done some explorations! I've added couple of enhancements, including adding our new
UnitControl
components as well as a Grid overlay. It feels really nice!Note: This does not work on IE 11. However,
video
backgrounds already useobject-fit: cover
. So this update should not introduce a regression on IE 11.The text was updated successfully, but these errors were encountered: