Skip to content

Commit 814bd96

Browse files
committed
update demo video
1 parent 09c1784 commit 814bd96

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/components/Stream.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ if (thumbnail) {
5959
const totalSeconds = parse(time, "s");
6060

6161
const thumbnail = new URL(thumbnailUrl);
62+
thumbnail.searchParams.set("fit", "crop");
6263
thumbnail.searchParams.set("time", `${totalSeconds}s`);
6364

6465
return (

src/content/docs/style-guide/components/stream.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { Stream } from "~/components"
1313
import { Stream } from "~/components"
1414

1515
<Stream
16-
id="3c46281a9b2b84ee6776a53f87580c45"
17-
title="Explore Workers AI Models Using a Jupyter Notebook"
18-
thumbnail="2.5s"
16+
id="0f5d548ef3f606e6833b78e0193847c4"
17+
title="Connect and secure from any network to anywhere"
18+
thumbnail="https://pub-d9bf66e086fb4b639107aa52105b49dd.r2.dev/Connect-and-secure-from-any-network-to-anywhere.jpg"
1919
chapters={{
2020
"Chapter 1": "30s",
2121
"Chapter 2": "1m30s",
@@ -27,9 +27,9 @@ import { Stream } from "~/components"
2727

2828
```mdx
2929
<Stream
30-
id="3c46281a9b2b84ee6776a53f87580c45"
31-
title="Explore Workers AI Models Using a Jupyter Notebook"
32-
thumbnail="2.5s"
30+
id="0f5d548ef3f606e6833b78e0193847c4"
31+
title="Connect and secure from any network to anywhere"
32+
thumbnail="https://pub-d9bf66e086fb4b639107aa52105b49dd.r2.dev/Connect-and-secure-from-any-network-to-anywhere.jpg"
3333
chapters={{
3434
"Chapter 1": "30s",
3535
"Chapter 2": "1m30s",

0 commit comments

Comments
 (0)