public function ShockplayerTemplate::getSettings in MediaFront 6
Same name and namespace in other branches
- 6.2 players/osmplayer/player/templates/shockplayer/template.php \ShockplayerTemplate::getSettings()
- 7 players/osmplayer/player/templates/shockplayer/template.php \ShockplayerTemplate::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/ shockplayer/ template.php, line 33
Class
- ShockplayerTemplate
- 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' => false,
/**
* 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/shockplayer/jquery.media.template.shockplayer.js',
),
/**
* The debug template JavaScript file(s) ( uncompressed ).
*/
'debug' => array(
'templates/shockplayer/jquery.media.template.shockplayer.js',
),
),
/**
* The CSS files used for this template.
*/
'cssFiles' => array(
'template' => 'templates/shockplayer/css/shockplayer.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' => '#mediaplayer_menu',
'node' => '#mediaplayer_node',
'currentTime' => '#mediafront_playtime',
'totalTime' => '#mediafront_totaltime',
'playPause' => '#mediaplayer_playPause',
'seekBar' => '#mediaplayer_seekBar',
'seekUpdate' => '#mediaplayer_seekUpdate',
'seekProgress' => '#mediaplayer_seekProgress',
'seekHandle' => '#mediaplayer_seekHandle',
'volumeBar' => '#mediaplayer_audioBarInner',
'volumeHandle' => '#mediafront_audioControler',
'mute' => '#mediaplayer_audioButton',
'close' => '#mediaplayer_menuClose',
'embed' => '#mediaplayer_embed',
'elink' => '#mediaplayer_link',
'busy' => '#mediaplayer_busy',
'preview' => '#mediaplayer_preview',
'media' => '#mediaplayer_display',
'control' => '#mediaplayer_control',
'mediaRegion' => '#mediaplayer_minplayer',
),
);
}