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;
|
height: auto;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -471,7 +471,7 @@ export function Lightbox({
|
||||||
|
|
||||||
content = (
|
content = (
|
||||||
<video
|
<video
|
||||||
className="Lightbox__object"
|
className="Lightbox__object Lightbox__object--video"
|
||||||
controls={!shouldLoop}
|
controls={!shouldLoop}
|
||||||
key={objectURL}
|
key={objectURL}
|
||||||
loop={shouldLoop}
|
loop={shouldLoop}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue