<?php
/**
 * Single Question featured video template
 *
 * @package LifterLMS/Templates
 *
 * @since    3.16.0
 * @version  3.16.0
 *
 * @arg  $attempt  (obj)  LLMS_Quiz_Attempt instance
 * @arg  $question (obj)  LLMS_Question instance
 */

defined( 'ABSPATH' ) || exit;

if ( ! $question->has_video() ) {
	return;
}
?>

<div class="llms-question-video llms-video-wrapper">
	<div class="center-video"><?php
		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
		echo $question->get_video();
	?></div>
</div>
