<?php

/**
 * Overlay: Play Button
 *
 * @package TotalTheme
 * @subpackage Partials
 * @version 6.6
 */

defined( 'ABSPATH' ) || exit;

if ( 'inside_link' !== $position ) {
	return;
}

?>

<div class="overlay-video-button theme-overlay wpex-absolute wpex-inset-0 wpex-flex wpex-items-center wpex-justify-center">
    <span class="overlay-bg wpex-bg-<?php echo totaltheme_get_overlay_bg_color(); ?> wpex-block wpex-absolute wpex-inset-0 wpex-opacity-<?php echo totaltheme_get_overlay_opacity( '20' ); ?>"></span>
    <span class="theme-button wpex-rounded-full wpex-relative wpex-flex wpex-items-center wpex-gap-5">
        <span class="wpex-icon wpex-icon--xl" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" height="16" width="16"><path d="M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"/></svg></span><?php esc_html_e( 'Play', 'total' ); ?>
    </span>
</div>
