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

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

Avatar

Avatar
Ignite 1
Level 2
ks_hitijingole
Level 2

Likes

3 likes

Total Posts

8 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

8 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
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

367 likes

Total Posts

462 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

367 likes

Total Posts

462 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
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)