You are here

video.inc in Video 7.2

Wysiwyg API integration.

File

wysiwyg_plugins/video.inc
View source
<?php

/**
 * @file
 * Wysiwyg API integration.
 */

/**
 * Implements hook_INCLUDE_plugin().
 */
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;
}

Functions

Namesort descending Description
video_video_plugin Implements hook_INCLUDE_plugin().