30 "./node_modules/mediaelement/build/mediaelement-and-player.min.js",
31 "./node_modules/mediaelement/build/renderers/vimeo.min.js"
40 return "./node_modules/mediaelement/build/mediaelementplayer.min.css";
57 foreach (self::getJsFilePaths() as $js_path) {
58 $a_tpl->addJavaScript($js_path);
60 foreach (self::getCssFilePaths() as $css_path) {
61 $a_tpl->addCss($css_path);
70 return array(self::getLocalMediaElementCssPath());
78 return self::getLocalMediaElementJsPath();
83 return "node_modules/mediaelement/build";
87 bool $a_fullpath =
false
89 $file =
"flashmediaelement.swf";
91 return self::getFlashVideoPlayerDirectory() .
"/" . $file;
100 "./node_modules/mediaelement/build",
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getLocalMediaElementJsPath()
static getFlashVideoPlayerDirectory()
static initMediaElementJs(ilGlobalTemplateInterface $a_tpl=null)
Init mediaelement.js scripts.
static getFlashVideoPlayerFilename(bool $a_fullpath=false)
static copyPlayerFilesToTargetDirectory(string $a_target_dir)
static getLocalMediaElementCssPath()
Get local path of jQuery file.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl