use video_fit contain by default (#89)
Co-authored-by: Ben Cherry <ben@livekit.io>
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user