test
parent
6263e6e229
commit
3bf256a4ca
|
@ -57,6 +57,11 @@
|
|||
let videoElement = videoWrapperClone.querySelector('video');
|
||||
videoWrapperClone.classList.add('shx-video-for-desc');
|
||||
|
||||
// move video element out of his parent
|
||||
videoWrapperClone.appendChild(videoElement);
|
||||
|
||||
|
||||
|
||||
// pause all video
|
||||
Object.keys(this.video_wrapper_Clones).forEach((key) => {
|
||||
if (key !== this.currentVariant) {
|
||||
|
|
|
@ -30,9 +30,7 @@
|
|||
}
|
||||
|
||||
.shx-video-for-desc {
|
||||
max-width: 100%;
|
||||
height: 400px;
|
||||
width: 400px;
|
||||
width: 100%;
|
||||
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
|
|
Loading…
Reference in New Issue