Current version: (AGNO-JavaScript API)

Layout

Configuration

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

Explanation

Source: https://docs.videojs.com/tutorial-layout.html

Fluid Mode

Video.js has a fluid mode that keeps the player sized to a particular aspect ratio.

Fill Mode

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.

Disabled

Fluid or fill mode won't be applied.

Layout

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.