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:
-
+
diff --git a/src/features/components/field-sizing.astro b/src/features/components/field-sizing.astro
index 35839df..27e73e5 100644
--- a/src/features/components/field-sizing.astro
+++ b/src/features/components/field-sizing.astro
@@ -36,7 +36,7 @@ const slug = slugify(title);
and input can now shrink to fit the size of the placeholder or
content value.
-
+
The following demo offers a side by side comparison of how inputs behave
without field-sizing and with field-sizing.
diff --git a/src/features/developerexperience/paint-order.astro b/src/features/developerexperience/paint-order.astro
index 929c8f1..b4d02a4 100644
--- a/src/features/developerexperience/paint-order.astro
+++ b/src/features/developerexperience/paint-order.astro
@@ -25,7 +25,7 @@ const slug = slugify(title);
The following video shows how the result of the text stroke is undesirable if the text is filled white and then given a black stroke. Switch those around, so the stroke is drawn first and then filled, and the result is quite nice!
-
+
The CSS to control this is one line. Set the paint-order to draw the stroke before the fill by specifying those keywords in that order.
The scrollsnapchange event fires at a similar moment as scrollend, when scroll has rested and the user has stopped
interacting with the scroller.
-
+
The scrollsnapchangingevent is eager to fire, and calls the callback the moment the scroller has a new snap target. This is useful for instant UX feedback, providing a mechanism for immediate visual updates based on the user's interaction.
-
+
{
console.log(event.snapTargetBlock);
diff --git a/src/features/interactions/view-transitions-mpa.astro b/src/features/interactions/view-transitions-mpa.astro
index f3c8226..269a60b 100644
--- a/src/features/interactions/view-transitions-mpa.astro
+++ b/src/features/interactions/view-transitions-mpa.astro
@@ -37,7 +37,7 @@ const slug = slugify(title);
-
+
Recording of the “Stack Navigator” demo that uses cross-document view transitions