embedded.php
4 years ago
external_url.php
4 years ago
html5.php
4 years ago
shortcode.php
4 years ago
video.php
5 years ago
vimeo.php
4 years ago
youtube.php
4 years ago
embedded.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Display Video HTML5 |
| 5 | * |
| 6 | * @since v.1.0.0 |
| 7 | * @author themeum |
| 8 | * @url https://themeum.com |
| 9 | * |
| 10 | * @package TutorLMS/Templates |
| 11 | * @version 1.4.3 |
| 12 | */ |
| 13 | |
| 14 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | exit; |
| 16 | } |
| 17 | |
| 18 | $video_info = tutor_utils()->get_video_info(); |
| 19 | |
| 20 | do_action( 'tutor_lesson/single/before/video/embedded' ); |
| 21 | ?> |
| 22 | <div class="tutor-single-lesson-segment tutor-lesson-video-wrap"> |
| 23 | <div class="tutor-video-embeded-wrap"> |
| 24 | <?php echo tutor_utils()->array_get( 'source_embedded', $video_info ); ?> |
| 25 | </div> |
| 26 | </div> |
| 27 | <?php |
| 28 | do_action( 'tutor_lesson/single/after/video/embedded' ); ?> |
| 29 |