interface VideoFilterInterface in Video Filter 8
Defines an interface for ice cream flavor plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\video_filter\VideoFilterInterface
Expanded class hierarchy of VideoFilterInterface
All classes that implement VideoFilterInterface
File
- src/
VideoFilterInterface.php, line 10
Namespace
Drupal\video_filterView source
interface VideoFilterInterface extends PluginInspectionInterface {
/**
* Return the name of the Video Filter codec.
*
* @return string
* The human-readable name of the codec.
*/
public function getName();
/**
* Return codec sample URL.
*
* @return url
* The codec sample URL.
*/
public function getExampleURL();
/**
* Return an array of regular expressions for the codec.
*
* @return array regexp
* Regular expression for the codec.
*/
public function getRegexp();
/**
* Return video player ratio.
*
* @return string
* Aspect ratio of the video player.
*/
public function getRatio();
/**
* Return video player control bar height.
*
* @return int
* Video player control bar height.
*/
public function getControlBarHeight();
/**
* Return Video Filter coded usage instructions.
*
* @return string
* Video Filter coded usage instructions.
*/
public function instructions();
/**
* Return video HTML5 video (iframe).
*
* @return url
* Video HTML5 video (iframe).
*/
public function iframe($video);
/**
* Return Flash video (flv).
*
* @return url
* Flash video (flv).
*/
public function flash($video);
/**
* Return HTML code of the video player.
*
* @return url
* HTML code of the video player.
*/
public function html($video);
/**
* Return embed options (Form API elements).
*
* @return array (Drupal Form API)
* Embed options (Form API elements).
*/
public function options();
/**
* Returns absolute URL to preview image.
*
* @return url
* Absolute URL to preview image.
*/
public function preview($video);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
VideoFilterInterface:: |
public | function | Return Flash video (flv). | 1 |
VideoFilterInterface:: |
public | function | Return video player control bar height. | 1 |
VideoFilterInterface:: |
public | function | Return codec sample URL. | 1 |
VideoFilterInterface:: |
public | function | Return the name of the Video Filter codec. | 1 |
VideoFilterInterface:: |
public | function | Return video player ratio. | 1 |
VideoFilterInterface:: |
public | function | Return an array of regular expressions for the codec. | 1 |
VideoFilterInterface:: |
public | function | Return HTML code of the video player. | 1 |
VideoFilterInterface:: |
public | function | Return video HTML5 video (iframe). | 1 |
VideoFilterInterface:: |
public | function | Return Video Filter coded usage instructions. | 1 |
VideoFilterInterface:: |
public | function | Return embed options (Form API elements). | 1 |
VideoFilterInterface:: |
public | function | Returns absolute URL to preview image. | 1 |