diff --git a/public/video/anchoring.png b/public/video/anchoring.png new file mode 100644 index 0000000..782da32 Binary files /dev/null and b/public/video/anchoring.png differ diff --git a/public/video/cross-document-view-transitions.png b/public/video/cross-document-view-transitions.png new file mode 100644 index 0000000..eae4f6b Binary files /dev/null and b/public/video/cross-document-view-transitions.png differ diff --git a/public/video/field-sizing.png b/public/video/field-sizing.png new file mode 100644 index 0000000..06f7cfb Binary files /dev/null and b/public/video/field-sizing.png differ diff --git a/public/video/paint-order.png b/public/video/paint-order.png new file mode 100644 index 0000000..529f720 Binary files /dev/null and b/public/video/paint-order.png differ diff --git a/public/video/snap-change.png b/public/video/snap-change.png new file mode 100644 index 0000000..9226250 Binary files /dev/null and b/public/video/snap-change.png differ diff --git a/public/video/snap-changing.png b/public/video/snap-changing.png new file mode 100644 index 0000000..5291d1e Binary files /dev/null and b/public/video/snap-changing.png differ diff --git a/src/components/video.astro b/src/components/video.astro index 209c10f..4a32f29 100644 --- a/src/components/video.astro +++ b/src/components/video.astro @@ -3,9 +3,11 @@ interface Props { src: string; width?: number; height?: number; + poster?: string; + preload?: string; } -const { src, width = 720, height = 480 } = Astro.props; +const { src, width = 720, height = 480, poster = "", preload = "metadata" } = Astro.props; --- diff --git a/src/features/components/anchor-positioning.astro b/src/features/components/anchor-positioning.astro index e463097..6c4e6f9 100644 --- a/src/features/components/anchor-positioning.astro +++ b/src/features/components/anchor-positioning.astro @@ -61,7 +61,7 @@ const slug = slugify(title);

The position-area property offers all sorts of options! The demo uses the logical property value block-end, but there's center, button, and tons more. Una made a GUI to help you visualize the options:

-