Image component enhancement | Community
Skip to main content
New Participant
January 25, 2023
Solved

Image component enhancement

  • January 25, 2023
  • 2 replies
  • 1410 views

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!

Best answer by nitesh_kumar-1

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

2 replies

Lokesh_Shivalingaiah
New Participant
February 3, 2023

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.

nitesh_kumar-1
nitesh_kumar-1Accepted solution
Employee
January 26, 2023

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

Lakshmi9Author
New Participant
January 30, 2023

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!