Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

dynamic media intergration with custom component

Avatar

Level 5

Hi All,

 

Do we have any document for dynamic media assets

 

We have configured dynamic media in local successfully and written dynamic util class to map the URL(from metadata) for our custom component. we are unable to use image preset , viewer preset and smart crop feature. Is there any document available to implement these features on our util class.

 

  

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi There,

 

There is no "dynamic media component customization or creation" documentation per se. At least I don't know and could not find anywhere.

 

Anyhow, if you got access to AEM instance, you can check dynamic media component in AEM at /libs/dam/components/scene7/dynamicmedia.

 

This component can be customized however having said that, it is a bit more involved. Dynamic media component not only creates the required scene7 publish url correctly depending on the MIME type, it also takes care of showing the right type of presets to you to choose from. It also uses a lot of java scripting because smart crop(for videos particularly)depends on viewer preset which is not a just server side hosted file but also depends on client side javascript to do a lot of manipulation.

 

So in all, take reference component for closer look and then customize. Also, bump up any estimation for this kind of activity as it is not as simple as it seems with all the complexities involved.

 

Thanks!

View solution in original post

5 Replies

Avatar

Correct answer by
Level 4

Hi There,

 

There is no "dynamic media component customization or creation" documentation per se. At least I don't know and could not find anywhere.

 

Anyhow, if you got access to AEM instance, you can check dynamic media component in AEM at /libs/dam/components/scene7/dynamicmedia.

 

This component can be customized however having said that, it is a bit more involved. Dynamic media component not only creates the required scene7 publish url correctly depending on the MIME type, it also takes care of showing the right type of presets to you to choose from. It also uses a lot of java scripting because smart crop(for videos particularly)depends on viewer preset which is not a just server side hosted file but also depends on client side javascript to do a lot of manipulation.

 

So in all, take reference component for closer look and then customize. Also, bump up any estimation for this kind of activity as it is not as simple as it seems with all the complexities involved.

 

Thanks!

Avatar

Level 5

Hi @AEMLearner-1989 - We have similar requirement, were you able to achieve similar for custom components usingimage presets, viewer presets, smart crop