You are here

public function ProviderPluginInterface::renderEmbedCode in Video 8

Same name and namespace in other branches
  1. 8.2 src/ProviderPluginInterface.php \Drupal\video\ProviderPluginInterface::renderEmbedCode()

Render embed code.

Parameters

string $settings: The settings of the video player.

Return value

mixed A renderable array of the embed code.

6 methods override ProviderPluginInterface::renderEmbedCode()
Dailymotion::renderEmbedCode in src/Plugin/video/Provider/Dailymotion.php
Render embed code.
Facebook::renderEmbedCode in src/Plugin/video/Provider/Facebook.php
Render embed code.
Instagram::renderEmbedCode in src/Plugin/video/Provider/Instagram.php
Render embed code.
Vimeo::renderEmbedCode in src/Plugin/video/Provider/Vimeo.php
Render embed code.
Vine::renderEmbedCode in src/Plugin/video/Provider/Vine.php
Render embed code.

... See full list

File

src/ProviderPluginInterface.php, line 19

Class

ProviderPluginInterface
Providers an interface for embed providers.

Namespace

Drupal\video

Code

public function renderEmbedCode($settings);