You are here

function mediafront_handler_area_player::render in MediaFront 7.2

Render the area.

Overrides views_handler_area::render

File

views/mediafront_handler_area_player.inc, line 25
Contains views_handler_area_text handler.

Class

mediafront_handler_area_player
Views mediafront player area handler.

Code

function render($empty = FALSE) {
  return mediafront_get_player($this->options['mediafront_preset'], array(
    'id' => $this->view->mediafront_id ? $this->view->mediafront_id : 'mediafront_' . $view->name,
    'disablePlaylist' => true,
    'playlist' => mediafront_get_playlist_from_view($this->view),
  ));
}