function FileVideoFormatter::defaultSettings
Overrides FileMediaFormatterBase::defaultSettings
File
- 
              core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileVideoFormatter.php, line 32  
Class
- FileVideoFormatter
 - Plugin implementation of the 'file_video' formatter.
 
Namespace
Drupal\file\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
  return [
    'muted' => FALSE,
    'width' => 640,
    'height' => 480,
  ] + parent::defaultSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.