/** * put javascript includes to the body before the gallery div */ protected function putJsIncludesToBody() { $output = parent::putJsIncludesToBody(); $src = $this->urlPlugin . "themes/video/ug-theme-video.js"; $output .= "<script type='text/javascript' src='{$src}'></script>"; return $output; }