Videos

This page includes a variety of videos inserted as embedded iFrames to demonstrate styling, spacing, captions, alt text, and parameters. Learn more at https://help.heretto.com/en/heretto-ccms/create/topics-and-topic-objects/videos.

Object <object>

Use the Object <object> element with the attributes type="video/mp4" and outputclass="iframe" to embed a video in a topic.

Example: Use the data attribute to link to a video hosted on an external site such as YouTube or Vimeo (recommended). Example shown below:

Example: You can also link to a video uploaded into Heretto CCMS. Use this only when an external hosting service is not an option. Example shown below:

Parameter <param>

Use the Parameter <param> element within the object <object> to apply additional styling and behavior to the video, such as the display size, border, full screen view, and more.

Example: The following video has several parameters applied, as follows:

CODE
<object data="https://www.youtube.com/embed/7SWhLVaWVP8" height="450" outputclass="iframe">
                    <param name="allowtransparency" value="true"/>
                    <param name="frameborder" value="0"/>
                    <param name="scrolling" value="no"/>
                    <param name="name" value="wistia_embed"/>
                    <param name="allowfullscreen" value="allowfullscreen"/>
                    <param name="mozallowfullscreen" value="mozallowfullscreen"/>
                    <param name="webkitallowfullscreen" value="webkitallowfullscreen"/>
                    <param name="oallowfullscreen" value="oallowfullscreen"/>
                    <param name="msallowfullscreen" value="msallowfullscreen"/>
                </object>

Figure <fig>

Use the Figure <fig> element as a wrapper for the object when you want to add a title or description, or allow the video to be linked to from an <xref>.
Figure 1. This is the optional title <title>. This is the optional description <desc>

Private Videos

If video is behind a login, it will will display a "cannot play" error. In some cases, if the external source shares the same SSO as the Heretto Portal, private videos may be able to display when a user is authenticated.