Problem/Motivation
The video_embed_plus module currently declares a dependency on video_embed_field in its info.yml file. However, the default version constraint resolves to older versions (1.x or 2.x), which are not compatible with Drupal 11.
This leads to Composer errors when trying to install the module on a Drupal 11 project, unless the user explicitly forces video_embed_field 3.x manually via CLI.
Steps to reproduce
- Run
composer require drupal/video_embed_plusin a Drupal 11 site. - Composer tries to install an incompatible version of
video_embed_field. - Installation fails due to unresolved core version constraints.
Proposed resolution
Update the composer.json file of the video_embed_plus module to explicitly require:
"drupal/video_embed_field": "3.0.x-dev"Keep the info.yml dependency as drupal:video_embed_field (without version constraint), but Composer will now correctly resolve the 3.x line which is compatible with Drupal 11.
Remaining tasks
- Update
composer.jsonfile with the correct version constraint. - Tag and release a patch or update to reflect this change.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
msark commentedIssue resolved in version 1.0.1.
- Added `composer.json` with `"drupal/video_embed_field": "3.0.x-dev"` to ensure Drupal 11 compatibility.
- Removed invalid version constraint from `.info.yml`.
- Tagged and released as `1.0.1`.
Installation now works correctly on Drupal 11 using:
composer require drupal/video_embed_plus:^1.0
Comment #3
msark commented