Video Component
Class Name
The Video Component uses the following implementation class:
org.onehippo.cms7.essentials.components.EssentialsVideoComponent
Overview
The Video Component extends the Document Component. It renders a video from an external source, as specified in a Video document. You can configure the width and height of the iframe that displays the video.
Component Parameters
The Video Component supports the following parameters:
| Name | Description |
|---|---|
| width | Width of the iframe in pixels. Default: 420px. |
| height | Height of the iframe in pixels. Default: 315px. |
This component also inherits parameters from the Document Component.
Rendering Attributes
The Video Component exposes the following rendering attribute:
| Name | Type | Description |
|---|---|---|
| cparam | org.onehippo.cms7.essentials.components.info.EssentialsCarouselComponentInfo | Provides component parameters for use in the rendering template. |
Rendering attributes from the Document Component are also available.