Implement a getName method in the VideoEmbedProvider

Created on 25 April 2023, about 2 years ago

Problem/Motivation

\Drupal\video_embed_brightcove\Plugin\video_embed_field\Provider\Brightcove does not currently implement a getName method.
This means that if you create a media entity attached to a field, it will end up with a default title from \Drupal\video_embed_field\ProviderPluginBase::getName

Steps to reproduce

1. enable a remote video media entity type to use brightcove
2. set up a field with a media reference field using a media browser
3. create content using the field

The title of the newly created media entity will be Brightcove Video (12345)

Proposed resolution

Implement getName so that the video title comes from the Brightcove metadata

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom malcomio

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024