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/fields/acffacebookvideo/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/public_html/plugins/fields/acffacebookvideo/tmpl/acffacebookvideo.php
<?php

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

defined('_JEXEC') or die;

if (!$videoURL = $field->value)
{
	return;
}

// Setup Variables
$id              = 'acf_fv_' . $item->id . '_' . $field->id;
$width           = (int) $fieldParams->get('width', null);
$width  		 = $width > 0 ? $width : 'auto';
$allowfullscreen = $fieldParams->get('allowfullscreen', 'true');
$autoplay        = $fieldParams->get('autoplay', 'false');
$showtext        = $fieldParams->get('includepost', 'false');
$showcaptions    = $fieldParams->get('showcaptions', 'true');
$languageTag     = str_replace('-', '_', JFactory::getLanguage()->getTag());

// Output
$buffer = '
	<!-- Facebook SDK for JavaScript -->
	<div id="fb-root"></div>
	<script>
		(function(d, s, id) {
			var js, fjs = d.getElementsByTagName(s)[0];
			if (d.getElementById(id)) return;
			js = d.createElement(s); js.id = id;
			js.src = "//connect.facebook.net/' . $languageTag . '/sdk.js#xfbml=1&version=v2.6";
			fjs.parentNode.insertBefore(js, fjs);
		}(document, "script", "facebook-jssdk"));
	</script>

	<!-- Embedded video player code -->
	<div id="' . $id . '" class="fb-video" 
		data-href="' . $videoURL . '" 
		data-width="' . $width . '" 
		data-show-text="' . $showtext . '" 
		data-show-captions="' . $showcaptions . '" 
		data-allowfullscreen="' . $allowfullscreen . '" 
		data-autoplay="' . $autoplay . '">
	</div>
';

echo $buffer;

NexusLeads