# ultimate-post/5.0.24/blocks/template/video_popup.php

Post Grid Gutenberg Blocks – PostX, version 5.0.24. 19 lines.

- Page: https://pluginprobe.com/plugins/ultimate-post/5.0.24/code/blocks/template/video_popup.php
- Raw: https://pluginprobe.com/plugins/ultimate-post/5.0.24/raw/blocks/template/video_popup.php
- Modified: 2026-06-04T11:44:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ultimate-post/5.0.24/code/blocks/template/video_popup.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || exit;

$post_loop     .= '<div class="ultp-video-modal">';
	$post_loop .= '<div class="ultp-video-modal__overlay"></div>';
if ( $attr['vidIconEnable'] ) {
	$post_loop .= '<span class="ultp-video-close"></span>';
}
	$post_loop     .= '<div class="ultp-video-modal__Wrapper">';
		$post_loop .= '<div class="ultp-video-modal__content">';
if ( $attr['enablePopupTitle'] ) {
	$post_loop .= '<a href="' . $titlelink . '">' . $title . '</a>';
}
			$post_loop .= '<div class="ultp-loader-container"><div class="ultp-popup-loader"></div></div>';
			$post_loop .= $post_video ? ultimate_post()->get_embeded_video( $post_video, true, true, false, true, true, false, true, array() ) : '';
		$post_loop     .= '</div>';
	$post_loop         .= '</div>';
$post_loop             .= '</div>';

```
