Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
671.8 KB
MD5: 15982b0dd49b3af0e710431551ff4011
SHA-1: 436d551c007f8182c3d9d7ecd898b6fb07a2b56b
SHA-256: dd9a12a7c57fe1899b4ed4575b5e2fe2bb24ed902754b6e809fd9d68715da6c7
Download zip
738.11 KB
MD5: 2e8157c8e915009b4594649556ee9797
SHA-1: d66ecc92e70691357686912feda349dcedbb47c0
SHA-256: 921472a1481b6b943527b219e14502430f52be395faacdd54823292b7f25f2be
Release notes
Fixes video media thumbnails stored with a width and height of 0, which made them invisible in the media library. Existing thumbnails are repaired by an update, and missing ones are downloaded again from cron. Vimeo thumbnails are now downloaded 1280 pixels wide, like YouTube ones. The Thumbnail formatter no longer calls image_style_options(), deprecated in Drupal 11.4.
Upgrade notes
- Run
drush updb. The Video Embed Media update gives every existing video thumbnail its real size. A thumbnail whose file is missing or empty is queued, and cron downloads it again: rundrush cron, ordrush queue:run media_entity_thumbnail, until the queue is empty. The update itself makes no HTTP request. - Only Vimeo videos added after the upgrade get the 1280 pixel thumbnail. A Vimeo video whose thumbnail file already exists keeps it.
- A Thumbnail formatter set to the image style "- None -" shows the original file, so it now shows larger Vimeo images, as it already did for YouTube.
Contributors (3)
bkosborne, joseph.olstad, mably
Changelog
Issues: 3 issues resolved.
Changes since 3.1.0 (compare):
Task
- #3626884 Replace check_markup() and image_style_options(), deprecated in Drupal 11.4