Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : video-button.php
<?php
if($ekit_video_popup_button_style == 'icon') {
	$this->add_render_attribute('button', ['class' => [ 'ekit_icon_button' ]]);
}

if($ekit_video_popup_video_glow == 'yes') {
	$this->add_render_attribute('button', ['class' => [ 'glow-btn' ]]);
}

if($ekit_video_popup_video_type == 'self') {
	$this->add_render_attribute('button', ['class' => ['ekit-video-popup'], 'href' => '#'.$generate_id]);
}else{
	$this->add_render_attribute('button', ['class' => ['ekit-video-popup'], 'href' => $ekit_video_popup_url]);
}

$this->add_render_attribute('button', ['class' => ['ekit-video-popup-btn'], 'aria-label' => "video-popup"]);
?>

<a <?php $this->print_render_attribute_string('button'); ?>>
	<?php if ($ekit_video_popup_button_style == 'text') : ?>
		<span><?php echo esc_html($ekit_video_popup_button_title); ?></span>
	<?php endif; ?>
	<?php if ($ekit_video_popup_button_style == 'icon' && $ekit_video_popup_button_icons != '') : ?>
		<?php $this->video_icon(); ?>
	<?php endif; ?>
	<?php if ($ekit_video_popup_button_style == 'both') : ?>
		<?php if ($ekit_video_popup_icon_align == 'before' && $ekit_video_popup_button_icons != '') : ?>
			<?php  $this->video_icon(); ?>
		<?php endif; ?>
		<span><?php echo esc_html($ekit_video_popup_button_title); ?></span>
		<?php if ($ekit_video_popup_icon_align == 'after' && $ekit_video_popup_button_icons != '') : ?>
			<?php $this->video_icon(); ?>
		<?php endif; ?>
	<?php endif; ?>
</a>
© 2025 GrazzMean