function mediafront_plugin_style_player::render in MediaFront 6.2
Same name and namespace in other branches
- 6 views/mediafront_plugin_style_player.inc \mediafront_plugin_style_player::render()
- 7.2 views/mediafront_plugin_style_player.inc \mediafront_plugin_style_player::render()
- 7 views/mediafront_plugin_style_player.inc \mediafront_plugin_style_player::render()
Renders the media player.
File
- views/
mediafront_plugin_style_player.inc, line 47 - This file holds style plugin for MediaFront Views
Class
- mediafront_plugin_style_player
- @class Extension of the Views Plugin Syle for the Media Player from MediaFront
Code
function render() {
$output = '';
// Check for live preview.
if (!empty($this->view->live_preview)) {
return t('MediaFront views are not compatible with live preview.');
}
// Now render the media player for this view.
return theme($this
->theme_functions(), $this->view, $this->options['mediafront_preset']);
}