No remote media displayed for field_c_p_attachments

Created on 22 September 2024, 4 months ago

Problem/Motivation

In utilities.inc this code applies for remote video and results in no handling for these media files. This is because there is no physical file for remote media entities.

function civictheme_media_get_variables(MediaInterface $media): ?array {
  ...
  if (empty($file)) {
    return NULL;
  }

Steps to reproduce

  1. Use field_c_p_attachments
  2. Attach remote video media
  3. View content, nothing is displayed

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇦🇺Australia sime Melbourne

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

Comments & Activities

Production build 0.71.5 2024