You are here

function mediafront_get_player_params in MediaFront 7

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_get_player_params()
  2. 6 mediafront.module \mediafront_get_player_params()
  3. 7.2 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 167

Code

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