function osmplayer_get_player_params in MediaFront 6
Same name and namespace in other branches
- 6.2 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
- 7.2 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
- 7 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
Implementation of hook_get_player_params.
These are the parameters that the player requires...
File
- players/
osmplayer/ osmplayer.module, line 257
Code
function osmplayer_get_player_params() {
$hasServices = module_exists('services') && module_exists('xmlrpc_server');
$params = OSMPlayer::getPlayerParams();
$params['protocol'] = $hasServices ? "auto" : "json";
return $params;
}