Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

/libs/foundation/component/video might be incompatible after update

ks_hitijingole
Level 2
Level 2

We are ran pattern detector on AEM 6.4.8.2. Pattern detector gave a possible incompatibility as below,

 

The content stored at /apps/roche/diagnostics/components/marketingTile/cq:editConfig/cq:dropTargets/video/parameters by including (sling:resourceType) the JCR path at /libs/foundation/components/video might be incompatible after update and might need some adaption
Referenced by: /apps/roche/diagnostics/components/marketingTile/cq:editConfig/cq:dropTargets/video/parameters
Referencing: /libs/foundation/components/video

 

Below is the cq:dropTargets code snippet for the component

 

<cq:dropTargets jcr:primaryType="nt:unstructured">

<image jcr:primaryType="cq:DropTargetConfig"

     accept="[image/.*]"

     groups="[media]"

     propertyName="./fileReference">

       <parameters jcr:primaryType="nt:unstructured"

         sling:resourceType="foundation/components/image"

         imageCrop=""

         imageMap=""

         imageRotate=""/>

</image>

 

<video jcr:primaryType="cq:DropTargetConfig"

     accept="[video/.*]"

     groups="[media]"

     propertyName="./fileReference">

      <parameters jcr:primaryType="nt:unstructured"

          sling:resourceType="foundation/components/video"/>

</video>

</cq:dropTargets>

 

Can you please suggest what should we use as sling:resourceType to resolve the issue reported by pattern detector?

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @ks_hitijingole 

 

This foundation component has been deprecated. Adobe recommends leveraging the Core Components Embed Component instead.

Please see the link here:

https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/config-video....

 

Embed Component:

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/embed.ht...

 

If the above does not meet your requirement, then you need to build a custom component using standard HTML 5 <video> tag.

 

Hope this helps!

Thanks

View solution in original post

1 Reply
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @ks_hitijingole 

 

This foundation component has been deprecated. Adobe recommends leveraging the Core Components Embed Component instead.

Please see the link here:

https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/config-video....

 

Embed Component:

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/embed.ht...

 

If the above does not meet your requirement, then you need to build a custom component using standard HTML 5 <video> tag.

 

Hope this helps!

Thanks

View solution in original post