Skip to content

/AWS1/CL_MPIPROMOEMBEDDEDVIDEO

An embedded promotional video for a product.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_title TYPE /AWS1/MPINONEMPTYSTRING /AWS1/MPINONEMPTYSTRING

The title displayed when hovering over the video.

iv_url TYPE /AWS1/MPIURL /AWS1/MPIURL

The URL of the video file.

iv_preview TYPE /AWS1/MPIURL /AWS1/MPIURL

The URL of the high-resolution preview image for the video.

iv_thumbnail TYPE /AWS1/MPIURL /AWS1/MPIURL

The URL of the thumbnail image for the video.

Optional arguments:

iv_description TYPE /AWS1/MPINULLABLESTRING /AWS1/MPINULLABLESTRING

An optional description of the video.


Queryable Attributes

title

The title displayed when hovering over the video.

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

url

The URL of the video file.

Accessible with the following methods

Method Description
GET_URL() Getter for URL, with configurable default
ASK_URL() Getter for URL w/ exceptions if field has no value
HAS_URL() Determine if URL has a value

preview

The URL of the high-resolution preview image for the video.

Accessible with the following methods

Method Description
GET_PREVIEW() Getter for PREVIEW, with configurable default
ASK_PREVIEW() Getter for PREVIEW w/ exceptions if field has no value
HAS_PREVIEW() Determine if PREVIEW has a value

thumbnail

The URL of the thumbnail image for the video.

Accessible with the following methods

Method Description
GET_THUMBNAIL() Getter for THUMBNAIL, with configurable default
ASK_THUMBNAIL() Getter for THUMBNAIL w/ exceptions if field has no value
HAS_THUMBNAIL() Determine if THUMBNAIL has a value

description

An optional description of the video.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value