function jw_player_get_key in JW Player 7.2
Same name and namespace in other branches
- 8 jw_player.module \jw_player_get_key()
Gets the correct key for the corresponding JW Player version.
Return value
string The license key as entered in the UI.
3 calls to jw_player_get_key()
- jw_player_libraries_load in ./
jw_player.module - Post-load callback for the jwplayer library.
- jw_player_library in ./
jw_player.module - Implements hook_library().
- jw_player_requirements in ./
jw_player.install - Implements hook_requirements().
File
- ./
jw_player.module, line 1075 - Adds a theme function which allows theme developers to use the JW Player.
Code
function jw_player_get_key() {
return jw_player_use_legacy() ? variable_get('jw_player_key', NULL) : variable_get('jw_player_key_7', NULL);
}