Add config option for autoplay videos
This commit is contained in:
@@ -132,8 +132,12 @@ html.pswp-no-arrows .pswp__button--arrow {
|
||||
}
|
||||
|
||||
.pswp__video-wrap video {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
/* Fill the slide area immediately (the poster sizes the element before the
|
||||
stream loads) so the container doesn't snap to a new size when the video's
|
||||
real dimensions arrive. */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
outline: none;
|
||||
pointer-events: auto;
|
||||
background: #000;
|
||||
|
||||
Reference in New Issue
Block a user