You are here

public function Vevo::options in Video Filter 8

Embed options. (e.g. Autoplay, Width/Height).

Uses Drupal's Form API.

Overrides VideoFilterBase::options

File

src/Plugin/VideoFilter/Vevo.php, line 42

Class

Vevo
Provides Vevo codec for Video Filter.

Namespace

Drupal\video_filter\Plugin\VideoFilter

Code

public function options() {
  $form = parent::options();
  $form['autoplay'] = [
    '#title' => $this
      ->t('Autoplay'),
    '#type' => 'checkbox',
  ];
  return $form;
}