From 495ac8080f153fae9c98a9c65a6037aa81b4e5d6 Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Thu, 27 Mar 2025 09:45:17 -0700 Subject: [PATCH] finished documentation --- src/components/Video/Video.mdx | 146 +++++++++++++++------- src/components/Video/Video.stories.svelte | 71 +++++++---- src/components/Video/Video.svelte | 126 ++++++++----------- 3 files changed, 203 insertions(+), 140 deletions(-) diff --git a/src/components/Video/Video.mdx b/src/components/Video/Video.mdx index f32a770c..737de61f 100644 --- a/src/components/Video/Video.mdx +++ b/src/components/Video/Video.mdx @@ -6,40 +6,75 @@ import * as VideoStories from './Video.stories.svelte'; # Video -The `Video` component adds a video with various controls to your page. The video can play on load or when the video comes into view. The component supports videos with or without audio, and has options to add a pause/play button or to allow the user to click on the video to pause and play it instead. +The `Video` component adds a video with various controls to your page such as: + +- Play/pause button +- Autoplay controls, i.e. whether the video plays when it comes into view or on page load +- Looping +- Audio controls +- Text elements such as notes and titles ```svelte