DamVideoMediaMarkupBuilder not compatible with AEM 6.4/6.5

Description

Repository restructuring in AEM 6.4 moved video profiles from /etc/dam/video to /conf/<tenant>/settings/dam/video as documented in [1].

The method VideoProfile#get(ResourceResolver resolver, String name) is marked as deprected and it is supposed to use VideoProfile#get(ResourceResolver resolver, ConfigurationResourceResolver configResolver, String name) instead [2].

Tests with current AEM6.5 and io.wcm.handler.media-1.8.0 didn't create a markup, as DamVideoMediaMarkupBuilder is not able to load a video profile in [3].

[1] https://helpx.adobe.com/de/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem64.html
[2] https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/com/day/cq/dam/video/VideoProfile.html#get-org.apache.sling.api.resource.ResourceResolver-java.lang.String-
[3] https://github.com/wcm-io/wcm-io-handler/blob/e9e0592ddbf5ac8cb9411f4f74918d2498577693/media/src/main/java/io/wcm/handler/mediasource/dam/markup/DamVideoMediaMarkupBuilder.java#L108

Activity

Show:
Stefan Seifert
January 20, 2020, 11:22 PM

should be solved in next version, you can give it a try with snapshot version 1.9.0-SNAPSHOT

the problem was two-fold:

  1. the default profile names for the build-in profiles changed between AEM 6.3 and 6.4

  2. the AEM 6.4 API introduced a new API method to get video profiles, and only this supports the new paths at /libs, /apps, /conf

Fixed

Assignee

Stefan Seifert

Reporter

Christoph Nagel

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure