diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
commit | 42bb65a75da1adb88f07d01677e2b80ee6b59039 (patch) | |
tree | 410dfbc2a1a02e31ba6b25bceb92b6cbf6621d93 /includes/metadata.inc | |
parent | 60fe72098ba214aa6a6f5860ad8411a7bbb1f8dd (diff) | |
download | video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.gz video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.bz2 |
Adding namespace to the video module variables
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r-- | includes/metadata.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc index 42f80b7..c2ad5c3 100644 --- a/includes/metadata.inc +++ b/includes/metadata.inc @@ -14,7 +14,7 @@ class video_metadata { public function __construct($metadata = null) { //get our configured transcoder. if (!isset($metadata)) - $metadata = variable_get('vid_metadata', 'flvtool2'); + $metadata = variable_get('video_metadata', 'flvtool2'); if (!module_load_include('inc', 'video', '/metadata/' . $metadata)) { $modules = module_list(); foreach ($modules as $module) { @@ -51,10 +51,10 @@ class video_metadata { '#description' => t('Metadata is particularly useful in video, where information about its contents (such as transcripts of conversations and text descriptions of its scenes) are not directly understandable by a computer, but where efficient search is desirable.'), ); $options = $this->_metadata(); - $form['vid_metadata'] = array( + $form['video_metadata'] = array( '#type' => 'radios', '#title' => t('Video Metadata'), - '#default_value' => variable_get('vid_metadata', 'flvtool2'), + '#default_value' => variable_get('video_metadata', 'flvtool2'), '#options' => $options['radios'], '#description' => t('!list', array('!list' => theme('item_list', $options['help']))), '#prefix' => '<div id="metadata-radios">', |