You are here

function html5_media_html5_player_info in HTML5 Media 7

Implements hook_media_player_info

File

./html5_media.module, line 92

Code

function html5_media_html5_player_info() {
  $path = drupal_get_path('module', 'html5_media') . '/player/templates';
  return array(
    'plugins' => array(),
    'templates' => array(
      'default' => array(
        'path' => $path . '/default',
        'js' => array(
          $path . '/default/js/minplayer.playLoader.default.js' => array(
            'group' => JS_DEFAULT,
          ),
          $path . '/default/js/minplayer.controller.default.js' => array(
            'group' => JS_DEFAULT,
          ),
          $path . '/default/js/minplayer.default.js' => array(
            'group' => JS_DEFAULT,
          ),
        ),
        'css' => array(
          $path . '/default/css/minplayer_default.css' => array(
            'group' => CSS_DEFAULT,
          ),
        ),
      ),
      'jqueryui' => array(
        'path' => $path . '/jqueryui',
        'js' => array(
          $path . '/jqueryui/js/minplayer.playLoader.jqueryui.js' => array(
            'group' => JS_DEFAULT,
          ),
          $path . '/jqueryui/js/minplayer.controller.jqueryui.js' => array(
            'group' => JS_DEFAULT,
          ),
          $path . '/jqueryui/js/minplayer.jqueryui.js' => array(
            'group' => JS_DEFAULT,
          ),
        ),
        'css' => array(
          $path . '/jqueryui/css/minplayer_jqueryui.css' => array(
            'group' => CSS_DEFAULT,
          ),
        ),
      ),
    ),
  );
}