Expand my Community achievements bar.

SOLVED

Image component enhancement

Avatar

Level 4

Hi Team,

 

Is there any possibility to upload a video in an Image component? Like DM component would allow drag & drop videos or images.

 

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @Lakshmi9 ,

 

The image component doesn't support that.

 

But there is a feature request to add in the core components, you can follow this thread for an update.

https://github.com/adobe/aem-core-wcm-components/issues/218 

https://github.com/adobe/aem-core-wcm-components/issues/148 

 

You may have to develop a custom component for this.

 

Hope this helps!

 

Regards,

Nitesh

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Hi @Lakshmi9 ,

 

The image component doesn't support that.

 

But there is a feature request to add in the core components, you can follow this thread for an update.

https://github.com/adobe/aem-core-wcm-components/issues/218 

https://github.com/adobe/aem-core-wcm-components/issues/148 

 

You may have to develop a custom component for this.

 

Hope this helps!

 

Regards,

Nitesh

Avatar

Level 4

Hi @nitesh_kumar 

Thank you for info. 

 

Could you please suggest is there any best approach to implement/extend video feature on teaser component with DM features?

 

Core video component is not working & ffmpeg needs to be installed to get it worked seems & not sure if we can use dynamic video component in teaser.

 

Kindly suggest, thank you!

Avatar

Level 10

Hi @Lakshmi9 ,

You cannot upload video file types in an image component. However, you can customize the same component to render video files based on the filetypes (your HTML tag would different for image and video files).

or extend the image component and create a new video component.