The video asset hosted on Acquia DAM not rendered

Created on 21 August 2023, over 1 year ago

Problem/Motivation

Hi
I've installed and enabled the Acquia DAM, Media: Acquia DAM and Entity Browser contrib modules on a Drupal 10.1.2 website.
When I enabled the Media: Acquia DAM - Example Configuration module few media types were created.
Next, I added a new field using the Acquia DAM Asset media type for a content type.
When I populate the field value with an image from DAM all is ok. The image is rendered as expected.
<img loading="lazy" src="/sites/default/files/acquiadam/2023-08/test.jpeg" typeof="foaf:Image">

When I populate the field value with a video from DAM an empty element is rendered.
<img loading="lazy" src="/sites/default/files/acquiadam/2023-08/VideoCaseStudy.mp4" typeof="foaf:Image">

I can see that a new media entity was created for the video but for some reason can't be displayed/rendered.

I also tried to use the Acquia DAM Video media type provided by the Media: Acquia DAM - Example Configuration module but I can't save the node where trying to add a DAM video. The entity reference field validation fails because the new media entity created is always stored as an 'acquia_dam_asset' bundle instead of the 'acquia_dam_video' type which the entity reference module queries the database for.
This entity (media: 28) cannot be referenced.

How can I render a DAM video?

πŸ“Œ Task
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom Alina Basarabeanu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024