Fix video pillarbox flash on web
This commit is contained in:
@@ -109,7 +109,7 @@ export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
|
|||||||
const fullBleed =
|
const fullBleed =
|
||||||
aspectRatio === undefined ||
|
aspectRatio === undefined ||
|
||||||
aspectRatio < 1 / 2 ||
|
aspectRatio < 1 / 2 ||
|
||||||
cardWidth < MIN_CARD_WIDTH
|
(containerWidth > 0 && cardWidth < MIN_CARD_WIDTH)
|
||||||
|
|
||||||
const contents = (
|
const contents = (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user