Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

akaria
Level 2
Level 2
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 🙂
1 Accepted Solution
markus_bulla_adobe
Correct answer by
Employee
Employee

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!

View solution in original post

1 Reply
markus_bulla_adobe
Correct answer by
Employee
Employee

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!

View solution in original post