public function Vine::iframe in Video Filter 8
HTML5 video (iframe).
Overrides VideoFilterBase::iframe
File
- src/
Plugin/ VideoFilter/ Vine.php, line 25
Class
- Vine
- Provides Vine codec for Video Filter.
Namespace
Drupal\video_filter\Plugin\VideoFilterCode
public function iframe($video) {
return [
'src' => '//vine.co/v/' . $video['codec']['matches'][1] . '/embed/simple',
'properties' => [],
];
}