Image component enhancement | Community
Skip to main content
Level 3
Jan 25, 2023 8:00 PM UTC
Solved

Image component enhancement

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!

nitesh_kumar-1
nitesh_kumar-1Accepted solution
Employee
Jan 26, 2023 10:46 AM UTC

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

3 replies

Lokesh_Shivalingaiah
Level 10
Feb 3, 2023 8:51 PM UTC

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.

Translate
nitesh_kumar-1
nitesh_kumar-1Accepted solution
Employee
Jan 26, 2023 10:46 AM UTC

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

Translate
Lakshmi9Author
Level 3
Jan 30, 2023 4:49 PM UTC

Hi @nitesh_kumar-1 

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!

Translate