Change Video Embed pparagraph to support Media

Created on 9 February 2025, 28 days ago

Problem/Motivation

I tested the Video Embed Paragraph and combined the current version of Anu LMS with Drupal CMS.

Unfortunately, I found that it is not possible to replace the link field of the paragraph with a media field.
But I would like to use Klaro before the videos are accessed. To do that, however, I have to integrate the videos via the media library. Otherwise, the YouTube video will be accessed directly. Unfortunately, this also means that many of us would not be able to use or purchase Anu LMS because we have to comply with the GDPR. Unfortunately, it says that data from external servers in non-EU countries may not be accessed before the user accessing the page in question has consented to the video being accessed.

With Klaro! this is not a problem in itself, but a consent dialog cannot be added via the output of a link field. It is therefore important that the business logic changes this paragraph.

Steps to reproduce

Install Drupal CMS
Enable Claro
enable constent Dialg for you tube
Plugin and enable Anu LMS
Create a lesson containing a video Paragraph
You'll see the video will be shown directly. That's wrong

Cross check it by creating a regular page
embed the same youtube video via media integration via CK editor
disagree all services in klaro modal
open that page you embedded the video
see the dialog commeing up.

Now go back to the lesson and see there is no klaro! consent dialog at all.

Proposed resolution

Change the Link-Field in the e particular paragraph and replace it with a media field.

Remaining tasks

Write a patch

User interface changes

TBD

API changes

TBD

Data model changes

TBD

🐛 Bug report
Status

Active

Version

2.11

Component

Code

Created by

🇩🇪Germany joachim namyslo Kulmbach 🇩🇪 🇪🇺

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

Comments & Activities

Production build 0.71.5 2024