Expand my Community achievements bar.

SOLVED

Video Component for video files from DAM

Avatar

Level 4

Hi,

We are trying to display video from DAM, but the embed component accepts only url(such as youtube). Is there any component that I can use for displaying video files, or is there any custom component that has been developed for this purpose? Thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @AD-Engineer,

 

For video component, you can write your custom logic (like below) to render the DAM videos. There is no core component built yet: https://www.aemcomponents.dev/

 

<source src="${model.videoPath}" type='video/mp4'>

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @AD-Engineer,

 

For video component, you can write your custom logic (like below) to render the DAM videos. There is no core component built yet: https://www.aemcomponents.dev/

 

<source src="${model.videoPath}" type='video/mp4'>

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Avatar

Community Advisor

@AD-Engineer we don't have OOTB Video component. There is a feature request.. https://github.com/adobe/aem-core-wcm-components/issues/218

 

For now, we need to create custom video component..with HTML5 video player HTML