mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
15 lines
647 B
PHP
15 lines
647 B
PHP
<link href="<?php echo getURL('node_modules/video.js/dist/video-js.min.css'); ?>" rel="stylesheet" type="text/css"/>
|
|
<?php
|
|
$videos_id = getVideos_id();
|
|
$video = Video::getVideoLight($videos_id);
|
|
|
|
$htmlMediaTag = '<video ' . PlayerSkins::getPlaysinline() . ' preload="auto" crossorigin="anonymous"
|
|
controls class="embed-responsive-item video-js vjs-default-skin vjs-big-play-centered" id="mainVideo"
|
|
data-setup=\'{"techOrder": ["youtube","html5"]}\'>
|
|
</video>';
|
|
echo PlayerSkins::getMediaTag($video['filename']);
|
|
|
|
include __DIR__.'/../plugin/PlayerSkins/saveThumbnail.php';
|
|
|
|
include $global['systemRootPath'] . 'view/include/video.min.js.php';
|
|
?>
|