%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/old/components/com_phocadownload/views/play/tmpl/ |
Upload File : |
<?php // no direct access defined('_JEXEC') or die('Restricted access'); // USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - - // ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users) $rightDisplay = 0; if (!empty($this->file[0])) { $rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $this->file[0]->cataccessuserid, $this->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') { if ($this->t['filetype'] == 'mp3') { echo '<audio width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 10px;" controls>'; echo '<source src="'.$this->t['playfilewithpath'].'" type="video/mp4">'; echo JText::_('COM_PHOCADOWNLOAD_BROWSER_DOES_NOT_SUPPORT_AUDIO_VIDEO_TAG'); echo '</audio>'. "\n"; } else if ($this->t['filetype'] == 'mp4') { echo '<video width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 10px;" controls>'; echo '<source src="'.$this->t['playfilewithpath'].'" type="video/mp4">'; echo JText::_('COM_PHOCADOWNLOAD_BROWSER_DOES_NOT_SUPPORT_AUDIO_VIDEO_TAG'); echo '</video>'. "\n"; } else if ($this->t['filetype'] == 'ogg') { echo '<audio width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 10px;" controls>'; echo '<source src="'.$this->t['playfilewithpath'].'" type="audio/ogg">'; echo JText::_('COM_PHOCADOWNLOAD_BROWSER_DOES_NOT_SUPPORT_AUDIO_VIDEO_TAG'); echo '</audio>'. "\n"; } else if ($this->t['filetype'] == 'ogv') { echo '<video width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 10px;" controls>'; echo '<source src="'.$this->t['playfilewithpath'].'" type="video/ogg">'; echo JText::_('COM_PHOCADOWNLOAD_BROWSER_DOES_NOT_SUPPORT_AUDIO_VIDEO_TAG'); echo '</video>'. "\n"; } } else { //Flow Player $versionFLP = '3.2.2'; $versionFLPJS = '3.2.2'; $document = JFactory::getDocument(); $document->addScript($this->t['playerpath'].'flowplayer-'.$versionFLPJS.'.min.js'); ?> <div style="text-align:center;"> <div style="margin: 10px auto;text-align:center; width:<?php echo $this->t['playerwidth']; ?>px"><a href="<?php echo $this->t['playfilewithpath']; ?>" style="display:block;width:<?php echo $this->t['playerwidth']; ?>px;height:<?php echo $this->t['playerheight']; ?>px" id="player"></a><?php if ($this->t['filetype'] == 'mp3') { ?><script> flowplayer("player", "<?php echo $this->t['playerpath']; ?>flowplayer-<?php echo $versionFLP ?>.swf", { plugins: { controls: { fullscreen: false, height: <?php echo $this->t['playerheight']; ?> } } } );</script><?php } else { ?><script> flowplayer("player", "<?php echo $this->t['playerpath']; ?>flowplayer-<?php echo $versionFLP ?>.swf");</script><?php } ?></div></div><?php } } else { echo JText::_('COM_PHOCADOWNLOAD_NO_RIGHTS_ACCESS_CATEGORY'); }