The Embed Component allows embedding external content in an AEM content page. Media can be added from a supported URL, a pre-configured embeddable or with safe freeform HTML.
View on public site:
Use a Teaser Core when you have a featured page with an image that you want to display from another page. The Teaser Core component can be placed on any page in the site, including landing pages. It can be placed in the content, right rail, and left rail containers of the page.
Be sure to verify that the title matches the title from the linked page and the description content accurately summarizes the page or matches the description text from the linked page.
Ensure that the asset has all the correct and necessary information attached to it, such as file size, and accurately matches the related image on the linked page.
The Embed Component allows the content author to define selected external content to be embedded within an AEM content page. In addition, there is an option to define free-form HTML to be embedded as well.
The configure dialog allows the content author to define the external resource to be embedded on the page.
First choose which type of resource should be embedded:
For each type of embeddable, you can define an ID. This option allows to control the unique identifier of the component in the HTML and in the Data Layer.
The simplest embed is the URL. Simply paste the URL of the resource you wish to embed in the URL field. The component will attempt to access the resource and if it can be rendered by one of the processors, it will display a confirmation message below the URL field. If not, the field will be marked in error.
The Embed Component ships with processors for the following types of resources:
Authors are required to specify the height of the embedded URL at each breakpoint - Desktop, Tablet, and Mobile.
Embeddables allow for more customization of the embedded resource, which can be parameterized and include additional information. An author is able to select from pre-configured trusted embeddables and the component ships with a YouTube embeddable out-of-the-box.
The Embeddable field defines the type of processor you want to use. In the case of the YouTube embeddable you can then define:
Allows an author to input free-form html and is restricted to safe tags only. For example, the script tag is not supported.