/** * Include media object presentation JS */ function includePresentationJS($a_tpl = null) { global $tpl; if ($a_tpl == null) { $a_tpl = $tpl; } include_once "./Services/jQuery/classes/class.iljQueryUtil.php"; iljQueryUtil::initjQUery($a_tpl); include_once "./Services/jQuery/classes/class.iljQueryUtil.php"; $a_tpl->addJavascript(iljQueryUtil::getLocalMaphilightPath()); $a_tpl->addJavascript("./Services/COPage/js/ilCOPagePres.js"); include_once "./Services/MediaObjects/classes/class.ilPlayerUtil.php"; ilPlayerUtil::initMediaElementJs($a_tpl); }