Fix video playback controls flicker
This commit is contained in:
parent
4f4df5bb32
commit
fcf75fdd1c
2 changed files with 9 additions and 1 deletions
|
@ -94,6 +94,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
&--video {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
height: auto;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
|
|
|
@ -471,7 +471,7 @@ export function Lightbox({
|
|||
|
||||
content = (
|
||||
<video
|
||||
className="Lightbox__object"
|
||||
className="Lightbox__object Lightbox__object--video"
|
||||
controls={!shouldLoop}
|
||||
key={objectURL}
|
||||
loop={shouldLoop}
|
||||
|
|
Loading…
Reference in a new issue