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

Avatar

Avatar
Ignite 1
Level 2
ks_hitijingole
Level 2

Likes

3 likes

Total Posts

21 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 3
Boost 1
View profile

Avatar
Ignite 1
Level 2
ks_hitijingole
Level 2

Likes

3 likes

Total Posts

21 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 3
Boost 1
View profile
ks_hitijingole
Level 2

26-04-2021

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

26-04-2021

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

Answers (0)