19 return "./libs/bower/bower_components/mediaelement/build/mediaelement-and-player.min.js";
27 return "./libs/bower/bower_components/mediaelement/build/mediaelementplayer.min.css";
43 foreach (self::getJsFilePaths() as $js_path) {
44 $a_tpl->addJavaScript($js_path);
46 foreach (self::getCssFilePaths() as $css_path) {
47 $a_tpl->addCss($css_path);
59 return array(self::getLocalMediaElementCssPath());
70 return array(self::getLocalMediaElementJsPath());
81 return "libs/bower/bower_components/mediaelement/build";
92 $file =
"flashmediaelement.swf";
94 return self::getFlashVideoPlayerDirectory() .
"/" . $file;
108 "./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.
static copyPlayerFilesToTargetDirectory($a_target_dir)
Copy css files to target dir.