You are here

function mediafront_get_player_params in MediaFront 6.2

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

Returns the player's default parameters.

Parameters

$player:

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

File

./mediafront.module, line 169

Code

function mediafront_get_player_params($player) {
  $get_params = $player . '_get_player_params';
  if (function_exists($get_params)) {
    return $get_params();
  }
  return array();
}