<style>
.video-wrapper {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
overflow: hidden;
}
.page__video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none;
}
</style>
<div class="video-wrapper">
<video class="page__video" preload="auto" playsinline autoplay loop muted>
<source src="one-does-not-simply.webm" type="video/webm">
<source src="ССЫЛКА НА ВАШЕ ВИДЕО" type="video/mp4">
</video>
</div>
<script>
document.addEventListener("DOMContentLoaded", () => {
let video = document.querySelector('.page__video');
video.pause();
video.currentTime = 0;
setTimeout(() => {
video.play().catch(e => console.log('Ошибка воспроизведения:', e));
}, 50);
});
</script>
<style>
.page__video {width: 100%; height: 100%; object-fit: cover; border-radius: 20px;}
</style>
<video class="page__video" preload="auto" playsinline controls="controls">
<source src="https://static.marinalooo.ru/LoooSite/home/myshow.mp4" type="video/mp4">
</video>
<style>
.gif2 {
width: 100%;
height: auto;
border-radius: 10px;
display: flex;
pointer-events: none;
}
</style>
<picture>
<source srcset="https://static.marinalooo.ru/cases/mrkt.webp" type="image/webp" />
<img class="gif2" src="https://static.marinalooo.ru/cases/mrkt.webp" width="100" height="100" loading="lazy" decoding="async">
</picture>
<video class="page__video" autoplay muted loop playsinline poster="https://static.marinalooo.ru/sushareshaet/sushaprew.jpg" style="width: 100%; height: auto; border-radius: 20px">
<source src="https://static.marinalooo.ru/sushareshaet/sushareshaet.webm" type="video/webm">
<source src="https://static.marinalooo.ru/sushareshaet/sushareshaet.mp4" type="video/mp4">
</video>
<style>
.showreel {
display: block;
overflow: hidden;
border-radius: 20px;
}
</style>
<style>
.pic1 .tn-atom {
background-image: url('https://static.marinalooo.ru/sushareshaet/pic1.webp');
background-size: cover;
background-repeat: no-repeat;
}
.pic1::before {
z-index: 1;
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: 30px;
}
</style>
<style>
#rec389879844 {
position: fixed;
left: 0;
top: 0;
right:0;
bottom:0;
z-index: 100005;
}
</style>
<script>
$("body").css("overflow","hidden");
$(document).ready(function() {
setTimeout(function() {
$("#rec389879844").delay(6000).fadeOut('slow');
$("body").css("overflow","auto");
window.dispatchEvent(new Event('resize'));
}, 6000);
});
$(window).on('load', function () {
$("#rec389879844").delay(6000).fadeOut('slow');
setTimeout(function() {
$("body").css("overflow","auto");
window.dispatchEvent(new Event('resize'));
}, 400);
});
</script>