function osmplayer_get_player_params in MediaFront 7.2
Same name and namespace in other branches
- 6.2 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
- 6 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
- 7 players/osmplayer/osmplayer.module \osmplayer_get_player_params()
Implements hook_get_player_params.
These are the parameters that the player requires...
1 call to osmplayer_get_player_params()
- osmplayer_osmplayer_params in players/
osmplayer/ osmplayer.module - Implements hook_osmplayer_params().
File
- players/
osmplayer/ osmplayer.module, line 474
Code
function osmplayer_get_player_params() {
return array(
'id' => 'player',
'debug' => false,
'disptime' => 0,
'duration' => 0,
'volume' => 80,
'wmode' => 'transparent',
'preload' => TRUE,
'autoplay' => FALSE,
'autoload' => TRUE,
'scrollMode' => 'auto',
'scrollSpeed' => 20,
'showPlaylist' => TRUE,
'vertical' => TRUE,
'node' => array(),
'playlist' => '',
'pageLimit' => 10,
'preset' => '',
'autoNext' => TRUE,
'shuffle' => FALSE,
'loop' => FALSE,
'logo' => '/' . osmplayer_get_path() . '/logo.png',
'swfplayer' => '/' . osmplayer_get_path() . '/minplayer/flash/minplayer.swf',
'link' => 'http://www.mediafront.org',
'range' => array(
'min' => 0,
'max' => 0,
),
'width' => '100%',
'height' => '450px',
'template' => 'default',
'playlistOnly' => FALSE,
'disablePlaylist' => FALSE,
'controllerOnly' => FALSE,
'showController' => TRUE,
'volumeVertical' => TRUE,
'plugins' => array(),
);
}