Video Component for video files from DAM | Community
Skip to main content
Level 3
Oct 5, 2021 11:45 AM UTC
Solved

Video Component for video files from DAM

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Oct 5, 2021 1:19 PM UTC

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.

2 replies

Shashi_Mulugu
New Participant
Oct 5, 2021 6:30 PM UTC

@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

Translate
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Oct 5, 2021 1:19 PM UTC

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.

Translate