You are here

public function OSMPlayer::getHeader in MediaFront 6.2

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

Get the header for this media player.

File

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

Class

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

Code

public function getHeader() {

  // Add the JS files to the header.
  $header = $this
    ->getJSHeader();

  // Add the CSS files.
  $header .= $this->template
    ->getCSSHeader();

  // Return the header.
  return $header;
}