You are here

function videojs_views_plugins in Video.js (HTML5 Video Player) 6

Same name and namespace in other branches
  1. 6.2 includes/videojs.views.inc \videojs_views_plugins()
  2. 7 includes/videojs.views.inc \videojs_views_plugins()
  3. 7.2 includes/videojs.views.inc \videojs_views_plugins()

Implementation of hook_views_plugins().

File

includes/videojs.views.inc, line 10
Views module hooks for the Video.js module.

Code

function videojs_views_plugins() {
  $path = drupal_get_path('module', 'videojs');
  return array(
    'style' => array(
      'videojs' => array(
        'title' => t('Video.js : HTML5 Video Player'),
        'help' => t('Display video files from different nodes as a Video.js HTML5 video.'),
        'handler' => 'videojs_style_plugin',
        'path' => $path . '/includes',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
      ),
    ),
  );
}