Remove autoplay and loop attributes from video backdrop configuration
This commit is contained in:
@@ -1856,9 +1856,7 @@ const SlideCreator = {
|
|||||||
const videoAttributes = {
|
const videoAttributes = {
|
||||||
className: "backdrop video-backdrop",
|
className: "backdrop video-backdrop",
|
||||||
src: (typeof trailerUrl === 'object' ? trailerUrl.url : trailerUrl),
|
src: (typeof trailerUrl === 'object' ? trailerUrl.url : trailerUrl),
|
||||||
autoplay: false,
|
|
||||||
preload: "auto",
|
preload: "auto",
|
||||||
loop: false,
|
|
||||||
disablePictureInPicture: true,
|
disablePictureInPicture: true,
|
||||||
style: "object-fit: cover; object-position: center center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none;"
|
style: "object-fit: cover; object-position: center center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none;"
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user