The object-fit
<video>
, should be resized to fit its container.
Note:
The object-fit
property has no effect on <fencedframe>
elements.
You can alter the alignment of the replaced element's content object within the element's box using the object-position
property.