Skip to content

Commit

Permalink
add s3 link to assets (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
budzianowski authored Oct 11, 2024
1 parent fd81651 commit 8896c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/VideoDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

interface VideoDemoProps {
src: string;
type: "youtube" | "local";
type: "youtube" | "s3" | "local";
title?: string;
autoplay?: boolean;
}
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/home/KLangDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ speakPhrase("Hello, I am a robot.");`,
>
<div className="space-y-4">
<div className="flex flex-col items-center space-y-4 text-center">
<div className="w-full max-w-4xl aspect-video overflow-hidden rounded-xl border bg-gray-11">
<div className="w-full max-w-4xl aspect-video overflow-hidden rounded-xl ">
<VideoDemo
src="https://www.youtube.com/embed/Y-mD7Cp9KSs"
type="youtube"
title="Minimal PPO Implementation"
src="https://kscale-public.s3.amazonaws.com/varia/stompypro.mp4"
type="s3"
title="Stompy Pro"
autoplay={true}
/>
</div>
Expand Down

0 comments on commit 8896c26

Please sign in to comment.