public function DefaultTemplate::getSettings in MediaFront 6
Same name and namespace in other branches
- 6.2 players/osmplayer/player/templates/default/template.php \DefaultTemplate::getSettings()
- 7 players/osmplayer/player/templates/default/template.php \DefaultTemplate::getSettings()
Return's this templates settings. This function is used to tell the Open Standard Media Player class about your template.
Overrides OSMTemplate::getSettings
File
- players/
osmplayer/ player/ templates/ default/ template.php, line 33
Class
- DefaultTemplate
- Copyright (c) 2010 Alethia Inc, http://www.alethia-inc.com Developed by Travis Tidwell | travist at alethia-inc.com
Code
public function getSettings() {
return array(
/**
* Boolean variable to tell this template if you are using theme roller. This will basically
* generate new CSS files so that multiple themes on the same page will not collide with each
* other.
*/
'generateCSS' => TRUE,
/**
* The template specific JavaScript files required for this template.
*/
'jsFiles' => array(
/**
* The release template JavaScript file(s). Usually a compressed version of the debug version.
*/
'release' => array(
'templates/default/jquery.media.template.default.compressed.js',
),
/**
* The debug template JavaScript file(s) ( uncompressed ).
*/
'debug' => array(
'templates/default/jquery.media.template.default.js',
),
),
/**
* The CSS files used for this template.
*/
'cssFiles' => array(
'theme' => $this
->getThemeRollerCSS(),
'template' => 'templates/default/osmplayer_default.css',
'template_ie' => 'templates/default/osmplayer_default_ie.css',
),
/**
* The ID's for this template. This is used to map certain HTML elements
* of your template to the functionality behind the Open Standard Media Player.
*/
'ids' => array(
'loading' => '#mediaplayerloading',
'player' => '#mediaplayer',
'menu' => '#mediamenu',
'titleBar' => '#mediatitlebar',
'node' => '#medianode',
'playlist' => '#mediaplaylist',
'currentTime' => '#mediacurrenttime',
'totalTime' => '#mediatotaltime',
'playPause' => '#mediaplaypause',
'seekUpdate' => '#mediaseekupdate',
'seekProgress' => '#mediaseekprogress',
'seekBar' => '#mediaseekbar',
'seekHandle' => '#mediaseekhandle',
'volumeUpdate' => '#mediavolumeupdate',
'volumeBar' => '#mediavolumebar',
'volumeHandle' => '#mediavolumehandle',
'mute' => '#mediamute',
'linkText' => '#medialinktext',
'linkScroll' => '#medialinkscroll',
'close' => '#mediamenuclose',
'embed' => '#mediaembed',
'elink' => '#mediaelink',
'email' => '#mediaemail',
'busy' => '#mediabusy',
'preview' => '#mediapreview',
'play' => '#mediaplay',
'media' => '#mediadisplay',
'control' => '#mediacontrol',
'voter' => '#mediavoter',
'uservoter' => '#mediauservoter',
'mediaRegion' => '#mediaregion',
'field' => '.mediafield',
'prev' => '#mediaprev',
'next' => '#medianext',
'loadPrev' => '#medialoadprev',
'loadNext' => '#medialoadnext',
'prevPage' => '#mediaprevpage',
'nextPage' => '#medianextpage',
'pager' => '#mediapager',
'scroll' => '#mediascroll',
'busy' => '#mediabusy',
'links' => '#medialinks',
'listMask' => '#medialistmask',
'list' => '#medialist',
'scrollWrapper' => '#mediascrollbarwrapper',
'scrollBar' => '#mediascrollbar',
'scrollTrack' => '#mediascrolltrack',
'scrollHandle' => '#mediascrollhandle',
'scrollUp' => '#mediascrollup',
'scrollDown' => '#mediascrolldown',
'titleLinks' => '#mediatitlelinks',
),
);
}