diff --git a/fern/products/docs/pages/component-library/writing-content/markdown.mdx b/fern/products/docs/pages/component-library/writing-content/markdown.mdx index 9bb455ebc..4b0046cd5 100644 --- a/fern/products/docs/pages/component-library/writing-content/markdown.mdx +++ b/fern/products/docs/pages/component-library/writing-content/markdown.mdx @@ -110,22 +110,40 @@ For example, to embed a video, use the following Markdown: ### Local videos - You can embed videos in your documentation using the HTML ` @@ -149,9 +167,9 @@ Common video attributes: | --------- | ----------- | | `src` | URL or path to the video file | | `width` and `height` | Dimensions of the video player | -| `autoplay` | Video starts playing automatically | +| `autoPlay` | Video starts playing automatically | | `loop` | Video repeats when finished | -| `playsinline` | Video plays inline on mobile devices instead of fullscreen | +| `playsInline` | Video plays inline on mobile devices instead of fullscreen | | `muted` | Video plays without sound | | `controls` | Shows video player controls (play/pause, volume, etc.) | @@ -163,27 +181,26 @@ For more details about the HTML video element and its attributes, see the [MDN d You can embed videos from YouTube, Loom, Vimeo, and other streaming platforms using an ` - ``` + + - + ```mdx ``` diff --git a/fern/snippets/html-video-syntax-callout.mdx b/fern/snippets/html-video-syntax-callout.mdx new file mode 100644 index 000000000..9c89b3bf3 --- /dev/null +++ b/fern/snippets/html-video-syntax-callout.mdx @@ -0,0 +1,3 @@ + + `.mdx` files use JSX syntax, not pure HTML. Attributes for HTML elements like `