pull/1/head
Jan Umbach 2024-05-31 18:51:01 +02:00
parent 6263e6e229
commit 3bf256a4ca
2 changed files with 6 additions and 3 deletions

View File

@ -57,6 +57,11 @@
let videoElement = videoWrapperClone.querySelector('video'); let videoElement = videoWrapperClone.querySelector('video');
videoWrapperClone.classList.add('shx-video-for-desc'); videoWrapperClone.classList.add('shx-video-for-desc');
// move video element out of his parent
videoWrapperClone.appendChild(videoElement);
// pause all video // pause all video
Object.keys(this.video_wrapper_Clones).forEach((key) => { Object.keys(this.video_wrapper_Clones).forEach((key) => {
if (key !== this.currentVariant) { if (key !== this.currentVariant) {

View File

@ -30,9 +30,7 @@
} }
.shx-video-for-desc { .shx-video-for-desc {
max-width: 100%; width: 100%;
height: 400px;
width: 400px;
border-radius: 10px; border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);