You are here

function video_embed_html5_theme in Video Embed HTML5 8

Implements hook_theme().

File

./video_embed_html5.module, line 21

Code

function video_embed_html5_theme() {
  return [
    'video_embed_html5' => [
      'variables' => [
        'src' => NULL,
        'type' => NULL,
        'autoplay' => FALSE,
        'width' => NULL,
        'height' => NULL,
      ],
      'template' => 'video-embed-html5',
    ],
  ];
}