You are here

function video_video_html5_players in Video 7.2

Same name and namespace in other branches
  1. 6.5 video.admin.inc \video_video_html5_players()
  2. 6.4 video.admin.inc \video_video_html5_players()
  3. 7 video.module \video_video_html5_players()

Return our possible HTML5 players.

1 call to video_video_html5_players()
video_players_admin_settings in modules/video_ui/video.admin.inc
Video player admin settings

File

modules/video_ui/video.admin.inc, line 436
Provides the administration settings for the Video Drupal module.

Code

function video_video_html5_players() {
  $options = array(
    'video' => t('Plain HTML5 video player with Flash fallback'),
    'audio' => t('Plain HTML5 audio player with Flash fallback'),
  );
  if (module_exists('videojs')) {
    $options['videojs'] = t('Video.js');
  }
  if (module_exists('mediaelement')) {
    $options['mediaelement'] = t('MediaElement');
  }
  return $options;
}