You are here

public static function OSMPlayer::getPlayerParams in MediaFront 6.2

Same name and namespace in other branches
  1. 6 players/osmplayer/player/OSMPlayer.php \OSMPlayer::getPlayerParams()
  2. 7 players/osmplayer/player/OSMPlayer.php \OSMPlayer::getPlayerParams()

Returns the player parameters.

2 calls to OSMPlayer::getPlayerParams()
OSMPlayer::__construct in players/osmplayer/player/OSMPlayer.php
Constructor.
osmplayer_get_player_params in players/osmplayer/osmplayer.module
Implementation of hook_get_player_params.

File

players/osmplayer/player/OSMPlayer.php, line 135

Class

OSMPlayer
PHP wrapper class for the Open Standard Media (OSM) player.

Code

public static function getPlayerParams($paths = null) {
  return array(
    'id' => 'player',
    'showPlaylist' => true,
    'file' => '',
    'flashPlayer' => 'minplayer/minplayer.swf',
    'image' => '',
    'volume' => 80,
    'autostart' => false,
    'autoLoad' => true,
    'streamer' => "",
    'apiKey' => "",
    'sessid' => "",
    'api' => 2,
    'drupalVersion' => 6,
    'links' => array(),
    'linksvertical' => false,
    'logo' => 'logo.png',
    'link' => "http://www.mediafront.org",
    'logopos' => 'sw',
    'logoWidth' => 49,
    'logoHeight' => 15,
    'logox' => 5,
    'logoy' => 5,
    'node' => "",
    'shuffle' => false,
    'loop' => false,
    'repeat' => false,
    'pageLimit' => 10,
    'protocol' => "auto",
    'server' => "drupal",
    'template' => "default",
    'baseURL' => "",
    'draggable' => false,
    'resizable' => false,
    'playlist' => "",
    'args' => array(),
    'wildcard' => "*",
    'gateway' => "",
    'vertical' => true,
    'scrollSpeed' => 15,
    'updateTimeout' => 20,
    'hysteresis' => 40,
    'dynamic' => false,
    'scrollMode' => "auto",
    'pageLink' => false,
    'debug' => false,
    'embedWidth' => 450,
    'embedHeight' => 337,
    'skin' => 'default',
    'autoNext' => true,
    'prefix' => '',
    'showScrollbar' => true,
    'controllerOnly' => false,
    'wmode' => 'transparent',
    'forceOverflow' => false,
    'volumeVertical' => false,
    'incrementTime' => 5,
    'quality' => 'default',
    'zIndex' => 400,
    'timeout' => 4,
    'fluidWidth' => false,
    'fluidHeight' => false,
    'fullscreen' => false,
  );
}