You are here

function shortcode_video_theme in Shortcode Video 7

Implements hook_theme().

File

./shortcode_video.module, line 24
ShortCode for embedding videos.

Code

function shortcode_video_theme() {
  return array(
    'shortcode_video_embed_error' => array(
      'variables' => array(
        'video_url' => '',
        'class' => 'video-embedding-error',
      ),
    ),
    'shortcode_video_embed_no_provider' => array(
      'variables' => array(
        'video_url' => '',
        'class' => 'video-embedding-no-provider',
      ),
    ),
    'shortcode_video_embed_youtube' => array(
      'variables' => array(
        'video_url' => '',
        'attributes' => array(),
      ),
    ),
    'shortcode_video_embed_vimeo' => array(
      'variables' => array(
        'video_id' => '',
        'attributes' => array(),
      ),
    ),
  );
}