imageManagerVideo


Optimizes videos managed by Image and Video Manager for the requesting device. You can also use this behavior to generate API tokens to apply your own policies to matching videos using the Image and Video Manager API. To apply this behavior, you need to match on a file‚ÄčExtension.

OptionTypeDescriptionRequires
enabledboolean

Applies Image and Video Manager's video optimization to the current content.

{"displayType":"boolean","tag":"input","type":"checkbox"}
resizeboolean

When enabled, scales down video for smaller mobile screens, based on the device's User-Agent header.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
apply‚ÄčBest‚ÄčFile‚ÄčTypeboolean

When enabled, automatically converts videos to the best file type for the requesting device. This produces the smallest file size that retains image quality, based on the user agent and the initial image file.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
super‚ÄčCache‚ÄčRegionenum

To optimize caching, assign a region close to your site's heaviest traffic.

use‚ÄčExisting‚ÄčPolicy‚ÄčSet is not true
{"displayType":"enum","options":["US","ASIA","AUSTRALIA","EMEA","JAPAN","CHINA"],"tag":"select"}
{"if":{"attribute":"useExistingPolicySet","op":"neq","value":true}}
US

United States.

ASIA

Asia.

AUSTRALIA

Australia.

EMEA

Europe, Middle East, and Africa.

JAPAN

Japan.

CHINA

China.

cp‚ÄčCode‚ÄčOriginalobject

Select the CP code for which to track Image and Video Manager video traffic. Use this along with cp‚ÄčCode‚ÄčTransformed to track traffic to derivative video content.

{"displayType":"object","tag":"input","todo":true}
cp‚ÄčCode‚ÄčOriginal.descriptionstring

Additional description for the CP code.

cp‚ÄčCode‚ÄčOriginal.idinteger

Unique identifier for each CP code.

cp‚ÄčCode‚ÄčOriginal.namestring

The name of the CP code.

cp‚ÄčCode‚ÄčOriginal.productsarray

The set of products the CP code is assigned to.

cp‚ÄčCode‚ÄčTransformedobject

Select the CP code to identify derivative transformed video content.

{"displayType":"object","tag":"input","todo":true}
cp‚ÄčCode‚ÄčTransformed.descriptionstring

Additional description for the CP code.

cp‚ÄčCode‚ÄčTransformed.idinteger

Unique identifier for each CP code.

cp‚ÄčCode‚ÄčTransformed.namestring

The name of the CP code.

cp‚ÄčCode‚ÄčTransformed.productsarray

The set of products the CP code is assigned to.

use‚ÄčExisting‚ÄčPolicy‚ÄčSetboolean

Whether to use a previously created policy set that may be referenced in other properties, or create a new policy set to use with this property. A policy set can be shared across multiple properties belonging to the same contract. The behavior populates any changes to the policy set across all properties that reference that set.

{"displayType":"boolean","tag":"input","type":"checkbox"}
policy‚ÄčSetobject

Identifies the existing policy set configured with Image and Video Manager API.

use‚ÄčExisting‚ÄčPolicy‚ÄčSet is true
{"displayType":"object","tag":"input","todo":true}
{"if":{"attribute":"useExistingPolicySet","op":"eq","value":true}}
advancedboolean

When disabled, applies a single standard policy based on your property name. Allows you to reference a rule-specific policy‚ÄčToken for videos with different match criteria.

use‚ÄčExisting‚ÄčPolicy‚ÄčSet is false
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"useExistingPolicySet","op":"eq","value":false}}
policy‚ÄčTokenstring

Specifies a custom policy defined in the Image and Video Manager Policy Manager or the Image and Video Manager API. The policy name can include up to 64 alphanumeric, dash, or underscore characters.

advanced is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"advanced","op":"eq","value":true}}
policy‚ÄčToken‚ÄčDefaultstring

Specify the default policy identifier, which is registered with the Image and Video Manager API once you activate this property.

advanced is false
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"advanced","op":"eq","value":false}}