HEX
Server: nginx/1.18.0
System: Linux vcwordpress 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/bharti-foundation.stgviitor.com/wp-content/themes/lifeline/templates/gallery/video.php
<?php
$meta       = lifeline()->meta( get_the_ID() );
$meta_video = lifeline_get( $meta, 'lifeline_videos' );
if ( ! $meta_video ) {
	return;
}

foreach ( $meta_video as $v ) {
	$video_id = lifeline_get( $v, 'id' );
	$link     = '';
	switch ( lifeline_get( $v, 'source' ) ) {
		case 'dailymotion':
				$link = 'http://dailymotion.com/' . $video_id;
			break;
		case 'vimeo':
				$link = 'http://vimeo.com/' . $video_id;
			break;
		case 'youtube':
				$link = 'http://youtu.be/' . $video_id;
			break;
	}
	?>
	<div class="col-md-6 col-sm-12 col-lg-4 video fltr-itm">
		<div class="gallery-box text-center position-relative mb-30 w-100 rounded overflow-hidden">
			<i class="fas fa-play-circle bg-theme text-white position-absolute rounded"></i>
			<a class="d-block position-relative" href="<?php echo esc_url( $link ); ?>" data-fancybox="gallery">
				<img class="img-fluid w-100" src="<?php echo esc_url( lifeline_get( $v, 'thumb' ) ); ?>" alt="<?php echo esc_url( lifeline_get( $v, 'title' ) ); ?>">
			</a>
		</div>
	</div>
	<?php
}