21 return "./libs/bower/bower_components/mediaelement/build/mediaelement-and-player.min.js";
29 return "./libs/bower/bower_components/mediaelement/build/mediaelementplayer.min.css";
45 foreach (self::getJsFilePaths() as $js_path) {
46 $a_tpl->addJavaScript($js_path);
48 foreach (self::getCssFilePaths() as $css_path) {
49 $a_tpl->addCss($css_path);
61 return array(self::getLocalMediaElementCssPath());
72 return array(self::getLocalMediaElementJsPath());
83 return "libs/bower/bower_components/mediaelement/build";
94 $file =
"flashmediaelement.swf";
96 return self::getFlashVideoPlayerDirectory() .
"/" .
$file;
110 "./libs/bower/bower_components/mediaelement/build",
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