How to put videos (stored in /content/dam) on a page without using foundation components? | Community
Skip to main content
Level 2
June 23, 2021
Solved

How to put videos (stored in /content/dam) on a page without using foundation components?

  • June 23, 2021
  • 1 reply
  • 1465 views
Hi,

Since foundation components are deprecated,
I want to know how to put videos stored in /content/dam on a page without using foundation components.

I'm also aware that Adobe recommends us to use Embed Core Component,
I'm curious how customers who already stored a huge quantity of videos in the DAM (/content/dam) changed their ways to use Embed Component instead.
How did they migrate into using Embed Component? Is data migration necessary?

Any possible solutions/examples for AEM6.5 and AEM as a Cloud Service?

Thanks in advance 🙂
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MarkusBullaAdobe

Hi @akaria!

For videos, there is a wide range of client-side video players available as well as the standard HTML5 video player. You can leverage any of these in a custom component or base your implementation on the Embed Core Component.

A basic implementation should be quite straight forward.

 

While there is no need to migrate your video content (they can be left in the /content/dam structure), you will have to migrate resource types of existing page content to reflect the new components resource type. (Rewriting the sling:resourceType property from "foundation/components/video" to the future resource type, e. g. "/apps/core/wcm/components/embed/v1/embed".) While doing so, please ensure that the referencing property pointing to the actual video binary should either keep the same name (e. g. "fileReference") or must be rewritten as well.

 

One side note: depending on your load profile you may want to evaluate external video hosting/delivery solutions. While it's totally possible to serve videos from AEM, this is usually a quite load-hungry process and external solution may give benefits in terms of delivery speed, video optimization and similar (and often also come with a dedicated video player). You may want to check Dynamic Media and its video capabilities.

 

Hope that helps!

1 reply

MarkusBullaAdobe
Adobe Employee
MarkusBullaAdobeAdobe EmployeeAccepted solution
Adobe Employee
June 28, 2021

Hi @akaria!

For videos, there is a wide range of client-side video players available as well as the standard HTML5 video player. You can leverage any of these in a custom component or base your implementation on the Embed Core Component.

A basic implementation should be quite straight forward.

 

While there is no need to migrate your video content (they can be left in the /content/dam structure), you will have to migrate resource types of existing page content to reflect the new components resource type. (Rewriting the sling:resourceType property from "foundation/components/video" to the future resource type, e. g. "/apps/core/wcm/components/embed/v1/embed".) While doing so, please ensure that the referencing property pointing to the actual video binary should either keep the same name (e. g. "fileReference") or must be rewritten as well.

 

One side note: depending on your load profile you may want to evaluate external video hosting/delivery solutions. While it's totally possible to serve videos from AEM, this is usually a quite load-hungry process and external solution may give benefits in terms of delivery speed, video optimization and similar (and often also come with a dedicated video player). You may want to check Dynamic Media and its video capabilities.

 

Hope that helps!