VideoCarousel

VideoCarousel

new VideoCarousel()

Source:
Properties:
Name Type Description
states object

Set of classes that serve as flags for carousel states.

selectors object

Set of selectors that can be used to select carousel features.

isStandalone string

Setting identifies whether or not this is a standalone carousel.

currentVideoId string

ID of the current active video iframe.

$elem element

The video carousel element itself.

$player element

The current active video player object.

$label element

Featured video label element if one exists (standalone carousels only)

$title element

Featured video title element if one exists (standalone carousels only)

$description element

Featured video description element if one exists (standalone carousels only)

$link element

Featured video link element if one exists (standalone carousels only)

Video carousel functionality. Initializes GlideJS carousel based on settings provided in constructor. Set's up all listeners and event handlers.

VideoCarousel

new VideoCarousel($elem, settings)

Source:
Parameters:
Name Type Description
$elem object

The video carousel element object.

settings object

Carousel settings to be merged with defaults