You are here

public function flvtool2::admin_settings in Video 7

Same name and namespace in other branches
  1. 6.4 metadata/flvtool2.inc \flvtool2::admin_settings()

Overrides video_metadata::admin_settings

File

metadata/flvtool2.inc, line 61

Class

flvtool2

Code

public function admin_settings() {
  $form = array();
  $form['video_flvtool2_start'] = array(
    '#type' => 'markup',
    '#value' => '<div id="video_flvtool2">',
  );
  $form['video_metadata_path'] = array(
    '#type' => 'textfield',
    '#title' => t('Path to FLVTool2'),
    '#description' => t('Executable path to flvtool2.'),
    '#default_value' => variable_get('video_metadata_path', $this->meta_command_path),
  );
  $form['video_flvtool2_end'] = array(
    '#type' => 'markup',
    '#value' => '</div>',
  );
  return $form;
}