public static function OSMPlayer::getPlayerSettings in MediaFront 7
Same name and namespace in other branches
- 6.2 players/osmplayer/player/OSMPlayer.php \OSMPlayer::getPlayerSettings()
- 6 players/osmplayer/player/OSMPlayer.php \OSMPlayer::getPlayerSettings()
Returns the player settings.
2 calls to OSMPlayer::getPlayerSettings()
- OSMPlayer::__construct in players/
osmplayer/ player/ OSMPlayer.php - Constructor.
- osmplayer_get_player_settings in players/
osmplayer/ osmplayer.module - Implements hook_get_player_settings
File
- players/
osmplayer/ player/ OSMPlayer.php, line 123
Class
- OSMPlayer
- PHP wrapper class for the Open Standard Media (OSM) player.
Code
public static function getPlayerSettings() {
return array(
'width' => OSMPLAYER_DEFAULT_WIDTH,
'height' => OSMPLAYER_DEFAULT_HEIGHT,
'theme' => 'dark-hive',
'version' => '0.01',
'showController' => true,
'disablePlaylist' => false,
'playlistOnly' => false,
'showNodeVoter' => false,
'showTeaserVoter' => false,
'showTitleBar' => true,
'showWhenEmpty' => true,
'playerPath' => self::getPlayerPath(),
);
}