HEX
Server: LiteSpeed
System: Linux sv4.hami.host 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: armgroup (1008)
PHP: 8.2.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, mail, socket_create, socket_create_listen, socket_create_pair, link, dl, openlog, syslog, stream_socket_server, curl_multi_init
Upload Files
File: /home/armgroup/www/wp-content/plugins/jet-elements/templates/jet-video/global/play-button.php
<?php
/**
 * Play button template
 */

$this->add_render_attribute( 'play_button', 'class', 'jet-video__play-button' );
$this->add_render_attribute( 'play_button', 'role', 'button' );
$this->add_render_attribute( 'play_button', 'tabindex', 0 );

if ( isset( $settings['play_button_accessibility'] ) ) {
	$this->add_render_attribute( 'play_button', 'aria-label', $settings['play_button_accessibility'] );
} else {
	$this->add_render_attribute( 'play_button', 'aria-label', '' );
}

if ( ! empty( $settings['play_button_hover_animation'] ) ) {
	$this->add_render_attribute( 'play_button', 'class', 'jet-video__play-button--animation-' . esc_attr( $settings['play_button_hover_animation'] ) );
}
?>

<div <?php $this->print_render_attribute_string( 'play_button' ); ?>><?php
	if ( 'icon' === $settings['play_button_type'] ) {
		$this->_icon( 'play_button_icon', '<span class="jet-elements-icon jet-video__play-button-icon">%s</span>' );
	} elseif ( 'image' === $settings['play_button_type'] ) {
		echo jet_elements_tools()->get_image_by_url(
			$settings['play_button_image']['url'],
			array(
				'class' => 'jet-video__play-button-image',
				'alt'   => esc_html__( 'Play Video', 'jet-elements' ),
			)
		);
	} ?>
	<span class="elementor-screen-only"><?php esc_html_e( 'Play Video', 'jet-elements' ); ?></span>
</div>