NexusLeads Webshell
NexusLeads


Server : LiteSpeed
System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : alsaif ( 1057)
PHP Version : 7.4.33
Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/alsaif/public_html/plugins/system/nrframework/layouts/widgets/selfhostedvideo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/public_html/plugins/system/nrframework/layouts/widgets/selfhostedvideo/default.php
<?php

/**
 * @package         Advanced Custom Fields
 * @version         2.8.9 Free
 * 
 * @author          Tassos Marinos <info@tassos.gr>
 * @link            https://www.tassos.gr
 * @copyright       Copyright © 2024 Tassos All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/

defined('_JEXEC') or die('Restricted access');

use Joomla\CMS\Language\Text;

extract($displayData);

$options = isset($options) ? $options : $displayData;

if (!$options['video'] || !is_array($options['video']))
{
	return;
}

$attributes = array_filter(array(
	isset($options['controls']) && $options['controls'] ? 'controls' : '',
	isset($options['loop']) && $options['loop'] ? 'loop' : '',
	isset($options['mute']) && $options['mute'] ? 'muted' : '',
	isset($options['autoplay']) && $options['autoplay'] ? 'autoplay playsinline' : ''
));

$type_ext = $options['video']['ext'] === 'mov' ? 'mp4' : $options['video']['ext'];
?>
<div class="nrf-widget tf-video selfhostedvideo<?php echo $css_class ? ' ' . $css_class : ''; ?>" id="<?php echo $options['id']; ?>">
	<div class="tf-video-embed" <?php echo $options['atts']; ?>>
		<video
			preload="<?php echo $options['preload']; ?>"
			controlsList="nodownload"
			<?php echo implode(' ', $attributes); ?>
			style="max-width:100%;">
			<source data-src="<?php echo $options['video']['file']; ?>" type="video/<?php echo $type_ext; ?>" />
			<?php echo Text::sprintf('NR_UNSUPPORTED_TAG', 'video'); ?>
		</video>
	</div>
</div>

NexusLeads