21 return "./Services/MediaObjects/media_element_".self::$mejs_ver.
"/mediaelement-and-player.js";
29 return "./Services/MediaObjects/media_element_".self::$mejs_ver.
"/mediaelementplayer.min.css";
44 foreach (self::getJsFilePaths() as $js_path)
46 $a_tpl->addJavaScript($js_path);
48 foreach (self::getCssFilePaths() as $css_path)
50 $a_tpl->addCss($css_path);
62 return array(self::getLocalMediaElementCssPath());
73 return array(self::getLocalMediaElementJsPath());
84 return "Services/MediaObjects/media_element_2_14_2";
95 $file =
"flashmediaelement.swf";
98 return self::getFlashVideoPlayerDirectory().
"/".
$file;
111 ilUtil::rCopy(
"./Services/MediaObjects/media_element_".self::$mejs_ver,
static getCssFilePaths()
Get css file paths.
static rCopy($a_sdir, $a_tdir, $preserveTimeAttributes=false)
Copies content of a directory $a_sdir recursively to a directory $a_tdir.
static getFlashVideoPlayerFilename($a_fullpath=false)
Get flash video player file name.
static getLocalMediaElementCssPath()
Get local path of jQuery file.
static getJsFilePaths()
Get js file paths.
static getLocalMediaElementJsPath()
Get local path of jQuery file.
static initMediaElementJs($a_tpl=null)
Init mediaelement.js scripts.
static getFlashVideoPlayerDirectory()
Get flash video player directory.
Create styles array
The data for the language used.
static copyPlayerFilesToTargetDirectory($a_target_dir)
Copy css files to target dir.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
Audio/Video Player Utility.