You are here

function video_video_flv_players in Video 7.2

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

Return our possible flash players.

When extending this method, also change the error message in video_players_admin_settings().

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

File

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

Code

function video_video_flv_players() {
  $options = array();
  if (module_exists('flowplayer')) {
    $options['flowplayer'] = t('Flowplayer');
  }
  if (module_exists('jw_player')) {
    $options['jwplayer'] = t('JW Player');
  }
  return $options;
}