Closed (fixed)
Project:
Video Embed PeerTube
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2026 at 09:38 UTC
Updated:
3 Apr 2026 at 10:00 UTC
Jump to comment: Most recent
Following video_embed_field #3580405, the renderEmbedCode() method is deprecated in video_embed_field 3.1.0 in favor of renderEmbed(array $options).
The PeerTube provider plugin needs to be updated to:
renderEmbed() with the actual embed implementation (including the new loading attribute for lazy loading).renderEmbedCode() by having it delegate to $this->renderEmbed() with a @trigger_error() notice.drupal/video_embed_field: ^3.1 in composer.json.This follows the same deprecation pattern used in the core video_embed_field providers (YouTube, Vimeo, YouTubePlaylist) and video_embed_dailymotion (#3580429).
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 #4
mably commented