AEM6.5 Video Thumbnails missing | Community
Skip to main content
Level 6
July 14, 2022

AEM6.5 Video Thumbnails missing

  • July 14, 2022
  • 3 replies
  • 1522 views

We use AEM Asset Videos but they appear they do not have thumbnails under Renditions in the DAM. When you look under Renditions only original MP4 is there. Also when one adds a video using the DAM browser a front end error occurs in AEM Editor because assetSelectedEvent.thumbnail is undefined.

 

I was reading some articles here that one needs Adobe Dynamic Media https://experienceleague.adobe.com/docs/experience-manager-65/assets/dynamic/scene7.html?lang=en. Is that a hosted solution? How can one obtain MP4 thumbnails in Assets without Adobe Dynamic Media?

 

function handleSelections(control, state, selections) {
var API_ASSETS = "/api/assets";
var ASSETS_PREFIX = "/content/dam";
var assetPath = selections[0].value;
var jsonAssetPath = assetPath.substring(ASSETS_PREFIX.length);
$.get(API_ASSETS + jsonAssetPath + ".json").done(function(data) {
if (!data.properties || !data.properties.metadata || !data.properties.metadata["dc:format"])
return;
var thumbnailLink = data.links.find(function(elem) {
return elem.rel.includes("thumbnail")
});
var assetSelectedEvent = jQuery.Event("assetselected");
assetSelectedEvent.path = assetPath;
assetSelectedEvent.mimetype = data.properties.metadata["dc:format"];
assetSelectedEvent.thumbnail = $("\x3cimg/\x3e").attr({
"src": thumbnailLink.href,
"alt": data.properties.metadata["dc:title"] || data.properties.name
});
self._$element.trigger(assetSelectedEvent)
})
}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

March 19, 2024

have you already fixed this one ?

anasusticAuthor
Level 6
March 20, 2024

No, unfortunately I was not.

diksha_mishra
Community Advisor
Community Advisor
March 20, 2024

@anasustic  Have you checked this: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/manage-video-assets Please follow the steps mentioned there. 

Please note, without Dynamic Media license, Experience Manager provides basic support for videos, such as transcoding using FFmpeg, extraction of preview thumbnails for the supported file formats, and preview in the user interface for formats that are supported for playback in the browser directly.

If you still face any issues, I request you to raise a support ticket with Adobe later.

kautuk_sahni
Community Manager
Community Manager
May 16, 2024

@anasustic Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni