Paragraph Video: Add fields to override Vidstack Formatter options

Created on 24 April 2025, 3 months ago

Problem/Motivation

In DROWL Media 4.x we will switch from the native Youtube and Local player to Vidstack: [4.x] Switch to Plyr / Vidstack Player for alle videos (remote + local) Active
We should be able to override the Video / Vidstack options inside the video paragraph.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

  • Issue created by @thomas.frobieter
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica

    @thomas.frobieter ready for review. Would you also like to add your code here or only the fields?

  • 🇩🇪Germany Anybody Porta Westfalica

    Test Error

    Drupal\Tests\drowl_paragraphs_bs_type_video\Functional\GenericDrowlParagraphsBsVideoTest::testModuleGenericIssues
    Drupal\Core\Config\PreExistingConfigException: Configuration objects (field.storage.paragraph.field_override_autoplay, field.storage.paragraph.field_override_controls, field.storage.paragraph.field_override_loop, field.storage.paragraph.field_override_muted) provided by drowl_paragraphs_bs_type_video already exist in active configuration

    absolutely make no sense to me. They can't pre-exist, because they have not been existing in the past...

    Maybe this runs in kind of a loop and tries to re-install them?
    The update hook will never be called by the module, I guess so that shouldn't be the reason?

  • First commit to issue fork.
Production build 0.71.5 2024