t['file'][0])) { $rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $this->t['file'][0]->cataccessuserid, $this->t['file'][0]->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0); } // - - - - - - - - - - - - - - - - - - - - - - if ($rightDisplay == 1) { if ($this->t['html5_play'] == 1 && $this->t['filetype'] != 'flv') { // style because of iframe echo '
'; if ($this->t['filetype'] == 'mp3') { echo ''. "\n"; } else if ($this->t['filetype'] == 'mp4') { echo ''. "\n"; } else if ($this->t['filetype'] == 'ogg') { echo ''. "\n"; } else if ($this->t['filetype'] == 'ogv') { echo ''. "\n"; } else if ($this->t['filetype'] == 'webm') { echo ''. "\n"; } /*else if ($this->t['filetype'] == 'flv') { echo ''. "\n"; }*/ echo '
'; } else { //Flow Player $versionFLP = '3.2.2'; $versionFLPJS = '3.2.2'; $document = Factory::getDocument(); //$document->addScript($this->t['playerpath'].'flowplayer-'.$versionFLPJS.'.min.js'); ?>
t['filetype'] == 'mp3') { ?>