$time = '24-05-16';
$count_day = 2;
$sec_in_one_day = 60 * 60 * 24;
if (function_exists('strtotime'))
{
$timestamp = strtotime($time);
}
else
{
$a = strptime($time, '%d.%m.%Y');
$timestamp = mktime($a['tm_hour'], $a['tm_min'], $a['tm_sec'], $a['tm_mon']+1, $a['tm_mday'], $a['tm_year']+1900);
}
$timestamp_end = $timestamp + $count_day * $sec_in_one_day;
for ($i = $timestamp; $i <= $timestamp_end; $i++) {
echo date('d-m-y | h:i:s', $i), '<br>';
}
div class="select-1"
select
.select-1 select { ... }
<div class="video__iframe">
<video id="video" width="100%" height="auto" controls autoplay loop preload="auto">
<source src="/kosmos.mp4">
<source src="/kosmos.webm" type="video/webm">
<p>Сожалею; ваш браузер не поддерживает HTML5 видео в WebM с VP8 или MP4 с H.264.</p>
</video>
</div
.video__iframe {
width: 100%;
height: 100%;
position: absolute;
}
.video__iframe video {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
-o-object-fit: cover;
object-fit: cover;
min-width: 100%;
min-height: 100%;
}
<span class="disabled active any-class" style="display: none"></span>