You are here

function mediafront_get_player_settings in MediaFront 7

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_get_player_settings()
  2. 6 mediafront.module \mediafront_get_player_settings()
  3. 7.2 mediafront.module \mediafront_get_player_settings()

Returns the player's default settings.

Parameters

$player:

1 call to mediafront_get_player_settings()
mediafront_get_settings in ./mediafront.module
Returns ALL the player settings for the given player provided settings to override.

File

./mediafront.module, line 179

Code

function mediafront_get_player_settings($player) {
  $get_settings = $player . '_get_player_settings';
  if (function_exists($get_settings)) {
    return $get_settings();
  }
  return array();
}