We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bcb720 commit 5871bb5Copy full SHA for 5871bb5
samples/apps/autogen-studio/frontend/src/components/views/playground/metadata.tsx
@@ -28,7 +28,9 @@ const MetaDataView = ({ metadata }: { metadata: any | null }) => {
28
const is_code = ["code"].includes(file.type);
29
const is_csv = ["csv"].includes(file.type);
30
const is_pdf = ["pdf"].includes(file.type);
31
- const is_video = ["video"].includes(file.type);
+ const is_video =
32
+ ["video"].includes(file.type) ||
33
+ ["mp4", "webm", "ogg"].includes(file.extension);
34
const file_name = file.name || "unknown";
35
const file_path = file.path || "unknown";
36
0 commit comments