public function ProviderPluginInterface::renderEmbedCode in Video 8.2
Same name and namespace in other branches
- 8 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.
File
- src/
ProviderPluginInterface.php, line 19
Class
- ProviderPluginInterface
- Providers an interface for embed providers.
Namespace
Drupal\videoCode
public function renderEmbedCode($settings);