This feature can be used as follows:
// required parameters: brand: "agnoplay", videoId: "Mbdskc9KsAii", url: window.location.href, ... // add the following: layout: "fluid", // or fill, disabled
Video.js has a fluid mode that keeps the player sized to a particular aspect ratio.
Fill mode will make the player fit and fill out its container. This is often useful if you have a responsive website and already have a container for Video.js that resizes properly to your design. It can be set either via a class or an option.
Fluid or fill mode won't be applied.
You can use this feature in a way that fits your needs. Depending on the source of your videos, you can set the player in fluid, fill or disabled mode.