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

Comments

sime created an issue. See original summary.

sime’s picture