Full ELMS Learning Network documentation
function video_filter_filter_info
cis7 video_filter.module | video_filter_filter_info() |
cle7 video_filter.module | video_filter_filter_info() |
elmsmedia7 video_filter.module | video_filter_filter_info() |
icor7 video_filter.module | video_filter_filter_info() |
meedjum_blog7 video_filter.module | video_filter_filter_info() |
mooc7 video_filter.module | video_filter_filter_info() |
Implements hook_filter_info().
File
- sites/
all/ modules/ ulmus/ video_filter/ video_filter.module, line 14 - Video filter is a highly flexible and easy extendable filter module to embed any type of video in your site using a simple tag.
Code
function video_filter_filter_info() {
$filters = array();
$filters['video_filter'] = array(
'title' => t('Video Filter'),
'description' => t('Substitutes [video:URL] with embedded HTML.'),
'process callback' => '_video_filter_process',
'settings callback' => '_video_filter_settings',
'default settings' => array(
'video_filter_width' => '400',
'video_filter_height' => '400',
'video_filter_autoplay' => 1,
'video_filter_related' => 1,
'video_filter_html5' => 1,
),
'tips callback' => '_video_filter_tips',
// See http://drupal.org/node/1061244.
'weight' => -1,
);
return $filters;
}