use video_fit contain by default (#89)

Co-authored-by: Ben Cherry <ben@livekit.io>
This commit is contained in:
Théo Monnom
2025-05-29 01:05:39 +02:00
committed by GitHub
parent 9e2b7fcc61
commit 5eddfa935c
3 changed files with 3 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ export default function Playground({
useDataChannel(onDataReceived);
const videoTileContent = useMemo(() => {
const videoFitClassName = `object-${config.video_fit || "cover"}`;
const videoFitClassName = `object-${config.video_fit || "contain"}`;
const disconnectedContent = (
<div className="flex items-center justify-center text-gray-700 text-center w-full h-full">

View File

@@ -47,7 +47,7 @@ export type UserSettings = {
const defaultConfig: AppConfig = {
title: "LiveKit Agents Playground",
description: "A virtual workbench for testing multimodal AI agents.",
video_fit: "cover",
video_fit: "contain",
settings: {
editable: true,
theme_color: "cyan",