You are here

function jw_player_use_legacy in JW Player 7.2

Same name and namespace in other branches
  1. 8 jw_player.module \jw_player_use_legacy()

Checks whether a legacy version is configured.

Return value

bool TRUE if any version older than 7 is used, FALSE otherwise.

5 calls to jw_player_use_legacy()
jw_player_ctools_export_ui_form in plugins/export_ui/jw_player_ctools_export_ui.inc
Implements hook_ctools_export_ui_form().
jw_player_get_key in ./jw_player.module
Gets the correct key for the corresponding JW Player version.
jw_player_libraries_info in ./jw_player.module
Implements hook_libraries_info()
jw_player_skins in ./jw_player.module
Retrieves information about JW Player skins.
template_preprocess_jw_player in ./jw_player.module
Process variables for jw_player.tpl.php.

File

./jw_player.module, line 1065
Adds a theme function which allows theme developers to use the JW Player.

Code

function jw_player_use_legacy() {
  return variable_get('jw_player_version') < 7;
}