Object Element
The object element links to videos that are rendered as embedded videos in the output.
Guidelines
-
Add the video embed link in the
dataattribute of the object element. Example:<object data="https://www.youtube.com/embed/1kLLjRL88Qk?a"/> -
Set
type="video/mp4"on the object element. Example:<object type="video/mp4"/> -
Set
outputclass="iframe"on the object element. Example:<object outputclass="iframe"/>
object element: <object data="https://www.youtube.com/embed/1kLLjRL88Qk?a" type="video/mp4" outputclass="iframe"/>This object element links to an external video. An object element that points to a video file in Heretto CCMS is identical, except that the data attribute points to a file in the CCMS.
While it is possible to host videos in the CCMS, it is best practice to use external video hosting platforms like YouTube or Vimeo instead. See Insert a Video Hosted on an External Platform .