Following video_embed_field #3580405, the renderEmbedCode() method is deprecated in video_embed_field 3.1.0 in favor of renderEmbed(array $options).
The Dailymotion provider plugin needs to be updated to:
- Override
renderEmbed()with the actual embed implementation (including the newloadingattribute for lazy loading). - Deprecate
renderEmbedCode()by having it delegate to$this->renderEmbed()with a@trigger_error()notice. - Require
drupal/video_embed_field: ^3.1incomposer.json.
This follows the same deprecation pattern used in the core video_embed_field providers (YouTube, Vimeo, YouTubePlaylist).
Issue fork video_embed_dailymotion-3580429
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commented