public function video_transcoder::admin_settings in Video 7
Same name and namespace in other branches
- 6.4 includes/transcoder.inc \video_transcoder::admin_settings()
File
- includes/
transcoder.inc, line 123
Class
Code
public function admin_settings() {
$form = array();
$options = $this
->_transcoders();
$form['video_convertor'] = array(
'#type' => 'radios',
'#title' => t('Video transcoder'),
'#default_value' => variable_get('video_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;
}