Install
Works with Drupal: ^9.2 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
16.58 KB
MD5: 8e8b0b77b5ebe9b2568da581f1458774
SHA-1: 04aaa80c16d11764bf3465b948bd2483fb556abc
SHA-256: af4736fcad5fa010b4dd451403ffc9e95f0a606280e6134a0453143d06e0b8a0
Download zip
23.82 KB
MD5: 61211a988dc854413fc60abb1c7ccd55
SHA-1: fed7e4a8018f6dae25696643983bbef49a59a461
SHA-256: 14f1389f38fb5bf8aaa7498a95ab959f777414c0d690e2e46327d27b736980cf
Release notes
2.0.4 Release Notes
This release introduces security hardening (SSRF prevention), modern Drupal 10/11 compatibility, coding standards compliance, and bug fixes for the Video Embed HTML5 provider plugin.
Security & Hardening
- #3480529: Module could be used for SSRF attacks by alexander-k, witcher, konot: Prevent SSRF by validating video URLs against non-HTTP schemes and private/reserved IPv4 & IPv6 ranges before server-side thumbnail extraction.
New Features & Improvements
- #3380193: Width x Height is not applying on colorbox popup. by konot, witcher: Added support for Width, Height, and Autoplay attributes in video embed rendering and Colorbox formatters.
- #3586711: Initialization of variables in create by witcher, konot: Implemented constructor dependency injection and property initialization on
Html5provider plugin. - #3584904: Error on config page by flocondetoile, witcher, konot: Injected entity type manager and file URL generator services into
VideoEmbedHtml5ConfigForm, and updated upload validators to useFileExtensionvalidator plugin.
Bug Fixes & Compatibility
- #3580323: Deprecated: Creation of dynamic property by flocondetoile: Declared and typed all properties on
Html5provider to prevent PHP 8.2+ dynamic property deprecations. - #3586297: Using display thumbnail causes an error by flocondetoile, witcher, konot: Injected
ModuleExtensionListservice to fix error when using display thumbnail without deprecateddrupal_get_path(). - #3586425: Module saves thumbnails in /wed/:/video_thumbnails folder instead of /web/sites/default/files/video_thumbnails by witcher, konot: Initialized
$thumbsDirectoryviagetThumbsDirectory()to ensure thumbnail file paths are constructed properly. - #3586423: Fix coding standards and deprecation by witcher, konot: Fixed coding standards (PHPCS), added
finalclass specifier toHtml5, and resolved GitLab CI 413 artifact upload limits by configuring_COMPOSER_YARN_INSTALL: 0. - #3586709: Tests don't work by witcher: Migrated unit tests to PHPUnit attributes (
#[DataProvider],#[Group]) with static data providers. - #3586706: Pipeline is broken by witcher, konot: Added
drupal/php_ffmpegto GitLab CI_LENIENT_ALLOW_LISTand updated Composer dev constraints.