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",
static rCopy(string $a_sdir, string $a_tdir, bool $preserveTimeAttributes=false)
Copies content of a directory $a_sdir recursively to a directory $a_tdir.
static getLocalMediaElementCssPath()
Get local path of jQuery file.
static getLocalMediaElementJsPath()
static getFlashVideoPlayerDirectory()
static getFlashVideoPlayerFilename(bool $a_fullpath=false)
static copyPlayerFilesToTargetDirectory(string $a_target_dir)
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
static initMediaElementJs(ilGlobalTemplateInterface $a_tpl=null)
Init mediaelement.js scripts.