HEX
Server: Apache
System: Linux hp3-wp-1011385.hostingp3.local 3.10.0-1160.156.1.el7.tuxcare.els1.x86_64 #1 SMP Fri Jul 31 13:24:34 UTC 2026 x86_64
User: csh2469127 (2058729)
PHP: 8.2.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: /home/domains/vol4/560/2977560/user/htdocs/wp-content/plugins/bb-plugin/includes/ui-field-video.php
<#

var video = null;

if ( FLBuilderSettingsConfig.attachments[ data.value ] ) {
	video = FLBuilderSettingsConfig.attachments[ data.value ];
} else if ( ! _.isEmpty( data.value ) ) {
	video = {
		id: data.value,
		url: data.value,
		filename: data.value
	};
}

var className = data.field.className ? ' ' + data.field.className : '';

if ( ! data.value || ! video ) {
	className += ' fl-video-empty';
}

#>
<div class="fl-video-field fl-builder-custom-field{{className}}">
	<a class="fl-video-select" href="javascript:void(0);" onclick="return false;"><?php _e( 'Select Video', 'fl-builder' ); ?></a>
	<div class="fl-video-preview">
		<# if ( data.value && video ) { #>
		<div class="fl-video-preview-img">
			<span class="dashicons dashicons-media-video"></span>
		</div>
		<span class="fl-video-preview-filename">{{{video.filename}}}</span>
		<# } else { #>
		<div class="fl-video-preview-img">
			<img src="<?php echo FLBuilder::plugin_url(); ?>img/spacer.png" />
		</div>
		<span class="fl-video-preview-filename"></span>
		<# } #>
		<br />
		<a class="fl-video-replace" href="javascript:void(0);" onclick="return false;"><?php _e( 'Replace Video', 'fl-builder' ); ?></a>
		<# if ( data.field.show_remove ) { #>
		<a class="fl-video-remove" href="javascript:void(0);" onclick="return false;"><?php _e( 'Remove Video', 'fl-builder' ); ?></a>
		<# } #>
		<div class="fl-clear"></div>
	</div>
	<input name="{{data.name}}" type="hidden" value='{{{data.value}}}' />
</div>