Fatal error: Declaration of Drupal\video_embed_html5\Plugin\video_embed_field\Provider\Html5::renderEmbedCode($width, $height, $autoplay) must be compatible with Drupal\video_embed_field\ProviderPluginInterface::renderEmbedCode($width, $height, $autoplay, $loop, $mute, $controls, $rel) in /modules/contrib/video_embed_html5/src/Plugin/video_embed_field/Provider/Html5.php on line 0
We have to add the parameters:
/**
* Render embed code.
*
* @param string $width
* The width of the video player.
* @param string $height
* The height of the video player.
* @param bool $autoplay
* If the video should autoplay.
* @param bool $loop
* If the video should loop.
* @param bool $mute
* If the video should play muted.
* @param bool $controls
* Whether show controls (youtube only).
* @param bool $rel
* Whether show related videos (youtube only).
*
* @return mixed
* A renderable array of the embed code.
*/
public function renderEmbedCode($width, $height, $autoplay, $loop, $mute, $controls, $rel);
Closed: won't fix
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.