function video_video_plugin in Video 7.2
Implements hook_INCLUDE_plugin().
File
- wysiwyg_plugins/
video.inc, line 11 - Wysiwyg API integration.
Code
function video_video_plugin() {
drupal_add_library('system', 'ui.dialog');
drupal_add_js(drupal_get_path('module', 'video') . '/js/video_wysiwyg.js');
$plugins['video'] = array(
'title' => t('Video'),
'vendor url' => 'http://drupal.org/project/video',
'icon file' => 'video.gif',
'icon title' => t('Video'),
'js file' => 'video.js',
'css file' => 'video.css',
'settings' => array(
'golbal' => array(
'url' => base_path() . 'video/browser?render=video-popup',
'selectedId' => NULL,
'dimensions' => NULL,
),
),
);
return $plugins;
}