embedded.php
6 years ago
external_url.php
6 years ago
html5.php
6 years ago
video.php
6 years ago
vimeo.php
6 years ago
youtube.php
6 years ago
video.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Display Video |
| 4 | * |
| 5 | * @since v.1.0.0 |
| 6 | * @author themeum |
| 7 | * @url https://themeum.com |
| 8 | * |
| 9 | * @package TutorLMS/Templates |
| 10 | * @version 1.4.3 |
| 11 | */ |
| 12 | |
| 13 | if ( ! defined( 'ABSPATH' ) ) |
| 14 | exit; |
| 15 | |
| 16 | $video_info = tutor_utils()->get_video_info(); |
| 17 | |
| 18 | do_action('tutor_lesson/single/before/video'); |
| 19 | if ($video_info){ |
| 20 | tutor_load_template('single.video.'.$video_info->source); |
| 21 | } |
| 22 | do_action('tutor_lesson/single/after/video'); ?> |