You are here

public function SimpleblackTemplate::getSettings in MediaFront 6

Same name and namespace in other branches
  1. 6.2 players/osmplayer/player/templates/simpleblack/template.php \SimpleblackTemplate::getSettings()
  2. 7 players/osmplayer/player/templates/simpleblack/template.php \SimpleblackTemplate::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/simpleblack/template.php, line 33

Class

SimpleblackTemplate
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/simpleblack/jquery.media.template.simpleblack.js',
      ),
      /**
       * The debug template JavaScript file(s) ( uncompressed ).
       */
      'debug' => array(
        'templates/simpleblack/jquery.media.template.simpleblack.js',
      ),
    ),
    /**
     * The CSS files used for this template.
     */
    'cssFiles' => array(
      'template' => 'templates/simpleblack/css/simpleblack.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_audioBar',
      'volumeHandle' => '#mediafront_audioControler',
      'mute' => '#mediaplayer_audioButton',
      'close' => '#mediaplayer_menuClose',
      'embed' => '#mediaplayer_embed',
      'elink' => '#mediaplayer_link',
      'busy' => '#mediaplayer_busy',
      'preview' => '#mediaplayer_preview',
      'play' => '#mediaplayer_bigPlay',
      'media' => '#mediaplayer_display',
      'control' => '#mediaplayer_control',
      'mediaRegion' => '#mediaplayer_minplayer',
    ),
  );
}