Show navigation ≫
≪ Hide navigation
Objects > Video

Description

Defines a video to be rendered considering multiple resolutions and formats for different screens and devices.

Structure

Optional parameters are indicated as "(Optional)".

Parameter Meaning Notes
url (string) The url of the video.
width (string) (optional) The width of the video.
  • If no width is specified, Connected Web parsers will maybe not include the video on mobile devices.
height (string) (optional) The height of the video.
  • If no width is specified, Connected Web parsers will maybe not include the video on mobile devices.
type (string) (optional) The mime type of the video.
  • If no type is specified, Connected Web parsers will maybe not include the video.
  • Mime type helps Connected Web readers to decide which kind of player is necessary to reproduce the video.
size (float) (optional) The size of the video, in KiloBytes.
  • If no size is specified, Connected Web readers will maybe not include the video on mobile devices to save data.
title (string) (optional) The plain text title of the video.
description (string) (optional) The plain text description of the video.
resolutions (associatvie array of media_versions_objects) (optional) Other resolutions of the video.
  • If other resolutions of the video are already available, it's possibile to specify them in an associative array of versions. Each key of the array is the with of the resized video.
  • This parameter requires a Connected Web Media Versions Object. See the Objects > Media Versions documentation to understand more.
Continue to the Audio Object definition
Show navigation ≫
≪ Hide navigation