You are here

public function video_transcoder::admin_settings in Video 6.4

Same name and namespace in other branches
  1. 7 includes/transcoder.inc \video_transcoder::admin_settings()

File

includes/transcoder.inc, line 84

Class

video_transcoder

Code

public function admin_settings() {
  $form = array();
  $options = $this
    ->_transcoders();
  $form['vid_convertor'] = array(
    '#type' => 'radios',
    '#title' => t('Video transcoder'),
    '#default_value' => variable_get('vid_convertor', 'video_ffmpeg'),
    '#options' => $options['radios'],
    '#description' => t('Selecting a video transcoder will help you convert videos and generate thumbnails. !list', array(
      '!list' => theme('item_list', $options['help']),
    )),
    '#prefix' => '<div id="transcoder-radios">',
    '#suffix' => '</div>',
  );
  $form = $form + $options['admin_settings'];
  return $form;
}