Frame screenshots, and embed your own videos or YouTube.
Images in posts already get rounded corners and a thin outline, and they go in public/ with a path from the root, like /images/editor.png. See Images.
Frame
Frame puts a border around an image and adds a caption under it.
<Frame caption="The calendar shows every scheduled post."> </Frame>
How it looks on your site
string
Centered text under the frame.
Frames carry the class frame.
Video
Video plays a video file from your repository or any URL, with the browser’s controls.
<Video src="/videos/demo.mp4" poster="/images/demo-poster.png" title="Acme Flow in 60 seconds" />
string
required
The video file, where .mp4 and .webm files in public/ work up to 25 MB each.
string
An image shown before the video plays.
string
A description for screen readers.
Until a reader presses play, the browser only loads the video’s length and size, so set poster to choose what shows before that. For longer videos, use YouTube.
Notra embeds the video from youtube-nocookie.com in 16:9, and it loads only when a reader scrolls near it.
Last modified on October 8, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Notra Documentation","description":"Documentation for Notra: track your brand across AI answer engines and turn your team's work into content.","colors":{"primary":"#8b5cf6","light":"#8b5cf6","dark":"#8b5cf6"},"logo":{"light":"https://mintcdn.com/notra/2ET3yj_w1EiaVUnN/logo/notra-wordmark.svg?fit=max\u0026auto=format\u0026n=2ET3yj_w1EiaVUnN\u0026q=85\u0026s=ec067541de0d7eb5eb2bddf6eed3e9b4","dark":"https://mintcdn.com/notra/2ET3yj_w1EiaVUnN/logo/notra-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=2ET3yj_w1EiaVUnN\u0026q=85\u0026s=acc35d633060260aca265100d13e09a1"},"favicon":"https://mintcdn.com/notra/KRbWPF6cEiTVNBm6/favicon.svg?fit=max\u0026auto=format\u0026n=KRbWPF6cEiTVNBm6\u0026q=85\u0026s=ff71fb69837d03de53146d96aad9402a","api":{"url":"full"},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://www.usenotra.com/discord","label":"Discord"},{"href":"https://github.com/usenotra","type":"github"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.usenotra.com"}},"footer":{"socials":{"x":"https://x.com/usenotra","github":"https://github.com/usenotra","discord":"https://www.usenotra.com/discord"}},"search":{"prompt":"Search the Notra docs..."},"seo":{"metatags":{"twitter:site":"@usenotra"}},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"errors":{"404":{"redirect":false,"title":"This page is on a content pipeline of its own","description":"Looks like this page hasn't shipped yet. Try the [quickstart](/quickstart) or the [product map](/geo/product-map)."}},"contextual":{"options":["copy","view","assistant","mcp","chatgpt","claude","cursor"],"display":"header"},"thumbnails":{"preset":"headline"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"notra","hasAudioNarration":false,"actualSubdomain":"notra","customDomains":["www.usenotra.com"],"gitSource":{"type":"github","owner":"usenotra","repo":"notra","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"agentFeedback":true,"issues":false},"entitlements":{},"buildId":"6b02e7cb5ed0b3845e793f69","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Developers","count":182},{"language":"default","tag":"Endpoints","count":165},{"language":"default","tag":"GEO","count":112},{"language":"default","tag":"Sites","count":68},{"language":"default","tag":"Analytics","count":32},{"language":"default","tag":"Integrations","count":23},{"language":"default","tag":"Autopilot","count":17},{"language":"default","tag":"Posts","count":16},{"language":"default","tag":"AI Traffic","count":15},{"language":"default","tag":"Studio","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"buttons.css","content":".notra-button,#topbar-cta-button>a{--notra-button-shadow: 0 0 transparent;display:inline-flex;align-items:center;justify-content:center;gap:0.375rem;height:2rem;padding:0 0.625rem;border:1px solid transparent;border-radius:0.5rem;font-size:0.875rem;font-weight:500;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:var(--notra-button-shadow);transition:background-color 150ms ease-out,\n filter 150ms ease-out,\n transform 150ms ease-out}.notra-button-primary,#topbar-cta-button>a{color:oklch(0.997 0 0);border-color:oklch(0.6056 0.2189 292.7172 / 60%);background:linear-gradient(\n 180deg,\n oklch(0.6056 0.2189 292.7172 / 85%),\n oklch(0.6056 0.2189 292.7172)\n );--notra-button-shadow:\n inset 0 1px 0 rgb(255 255 255 / 28%), 0 1px 2px rgb(0 0 0 / 18%)}.notra-button-primary:hover,#topbar-cta-button>a:hover{filter:brightness(1.1)}.notra-button-outline{color:hsl(0 0% 9%);border-color:hsl(0 0% 89.8%);background:hsl(0 0% 100%);--notra-button-shadow: 0 1px 2px rgb(0 0 0 / 5%)}.notra-button-outline:hover{background:hsl(0 0% 96.1%)}.dark .notra-button-outline{color:hsl(0 0% 98%);border-color:hsl(240 4% 20%);background:hsl(240 4% 20% / 30%);--notra-button-shadow: 0 0 transparent}.dark .notra-button-outline:hover{background:hsl(240 4% 20% / 50%)}@supports (corner-shape: squircle){.notra-button,#topbar-cta-button>a{corner-shape:squircle;border-radius:0.75rem}}#topbar-cta-button>a>span{background:transparent}.notra-button:focus-visible,#topbar-cta-button>a:focus-visible{outline:none;border-color:oklch(0.6056 0.2189 292.7172);box-shadow:0 0 0 3px oklch(0.6056 0.2189 292.7172 / 50%),\n var(--notra-button-shadow)}.notra-button:active:not(:disabled),#topbar-cta-button>a:active{transform:scale(0.97)}.notra-button:disabled{cursor:not-allowed;opacity:0.5}@media (prefers-reduced-motion: reduce){.notra-button,#topbar-cta-button>a{transition:none}.notra-button:active:not(:disabled),#topbar-cta-button>a:active{transform:none}}"},{"filePath":"card-icons.css","content":"html.dark [data-component-part=\"card-icon\"] img[src*=\"/images/integrations/posthog.svg\"]{content:url(\"/images/integrations/posthog-dark.svg\")}"},{"filePath":"theme.css","content":"[role=\"menu\"]:has([data-component-part=\"theme-preference-menu-item\"]){opacity:0;pointer-events:none}"}]}
{"page":{"pagePath":"sites/components/media","slug":"/sites/components/media","pageMetadata":{"title":"Media","description":"Frame screenshots, and embed your own videos or YouTube.","authors":[{"handle":"jan"}],"docolin":{"schema_version":1,"kind":"tools/notra/sites/components/media","type":"reference","applies_to":["notra"],"language":"en","status":"stable"},"href":"/sites/components/media"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Frame screenshots, and embed your own videos or YouTube.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Images in posts already get rounded corners and a thin outline, and they go in `,_jsx(_components.code,{children:`public/`}),` with a path from the root, like `,_jsx(_components.code,{children:`/images/editor.png`}),`. See `,_jsx(_components.a,{href:`/sites/posts#images`,children:`Images`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`frame`,children:`Frame`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Frame`}),` puts a border around an image and adds a caption under it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`mdx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`mdx`,children:_jsxs(_components.code,{language:`mdx`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Frame`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` caption`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The calendar shows every scheduled post.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Frame`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(Frame,{caption:`How it looks on your site`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=0fcec8ea59d4fb3330ba36b4058ed38e`,alt:`A framed image with a caption on a Notra site`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`1824`,width:`1824`,\"data-og-height\":`1118`,height:`1118`,\"data-path\":`images/sites/components/media-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=cc234dc14c9c6ea953f2da020c2b3e39 280w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=00e96f83707e13f018d393ed209d9306 560w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=c7443abee01405c5d485281c1a4b81c8 840w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=971eaca78fe7fc24c198ebf28a837430 1100w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=ec2a36543a22f1110cec21d2f474e3eb 1650w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=3e25adee4836b9f4b0f1692ece8b1b46 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=135d411ddcd6d6e7c0a27d0f50ad69f6`,alt:`A framed image with a caption on a Notra site`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`1824`,width:`1824`,\"data-og-height\":`1118`,height:`1118`,\"data-path\":`images/sites/components/media-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=455b956e4998452d46828bd8758db86b 280w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=b8164fc9b6392ad059a71ee59464863e 560w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=595a20ae4a0f77b6bacbc43629e603f6 840w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=09ed5e0ff970d4201515be550013c231 1100w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=6a2f7f417f78fcb81fbf045c6639f4bd 1650w, https://mintcdn.com/notra/_2RERYWY3HnUeONN/images/sites/components/media-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=_2RERYWY3HnUeONN\u0026q=85\u0026s=85ee5f541dd3fa22570fff349bcb18db 2500w`})]}),`\n`,_jsx(ResponseField,{name:`caption`,type:`string`,id:`param-caption`,children:_jsx(_components.p,{children:`Centered text under the frame.`})}),`\n`,_jsxs(_components.p,{children:[`Frames carry the class `,_jsx(_components.code,{children:`frame`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`video`,children:`Video`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Video`}),` plays a video file from your repository or any URL, with the browser’s controls.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`mdx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`mdx`,children:_jsxs(_components.code,{language:`mdx`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Video`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/videos/demo.mp4\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` poster`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/images/demo-poster.png\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Flow in 60 seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`src`,type:`string`,required:true,id:`param-src`,children:_jsxs(_components.p,{children:[`The video file, where `,_jsx(_components.code,{children:`.mp4`}),` and `,_jsx(_components.code,{children:`.webm`}),` files in `,_jsx(_components.code,{children:`public/`}),` work up to 25 MB each.`]})}),`\n`,_jsx(ResponseField,{name:`poster`,type:`string`,id:`param-poster`,children:_jsx(_components.p,{children:`An image shown before the video plays.`})}),`\n`,_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`A description for screen readers.`})}),`\n`,_jsxs(_components.p,{children:[`Until a reader presses play, the browser only loads the video’s length and size, so set `,_jsx(_components.code,{children:`poster`}),` to choose what shows before that. For longer videos, use YouTube.`]}),`\n`,_jsx(Heading,{level:`2`,id:`youtube`,children:`YouTube`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`YouTube`}),` embeds a video from YouTube by its ID.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`mdx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`mdx`,children:_jsxs(_components.code,{language:`mdx`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`YouTube`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dQw4w9WgXcQ\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Flow launch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`The video ID, the part after `,_jsx(_components.code,{children:`v=`}),` in a YouTube URL.`]})}),`\n`,_jsx(ResponseField,{name:`title`,type:`string`,default:`YouTube video`,id:`param-title-1`,children:_jsx(_components.p,{children:`A description for screen readers.`})}),`\n`,_jsxs(_components.p,{children:[`Notra embeds the video from `,_jsx(_components.code,{children:`youtube-nocookie.com`}),` in 16:9, and it loads only when a reader scrolls near it.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Media","description":"Frame screenshots, and embed your own videos or YouTube.","authors":[{"handle":"jan"}],"docolin":{"schema_version":1,"kind":"tools/notra/sites/components/media","type":"reference","applies_to":["notra"],"language":"en","status":"stable"},"href":"/sites/components/media"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Frame","slug":"frame","depth":2,"children":[]},{"title":"Video","slug":"video","depth":2,"children":[]},{"title":"YouTube","slug":"youtube","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/notra/1c34b1755a71d50d/databuddy.js","/docs/_mintlify/custom/notra/5641b035830c1390/theme-toggle.js"],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"notra","siteName":"Notra Documentation","title":"Media - Notra Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T16:06:35.186Z","gitLastModified":"2026-10-08T16:05:51.000Z","originalFileLocation":"sites/components/media.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Frame screenshots, and embed your own videos or YouTube.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Notra Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Media - Notra Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Frame screenshots, and embed your own videos or YouTube.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Notra Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.usenotra.com/docs/sites/components/media\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://notra.mintlify.site/docs/_mintlify/api/og/v2?division=Components\u0026amp;title=Media\u0026amp;description=Frame+screenshots%2C+and+embed+your+own+videos+or+YouTube.\u0026amp;theme=ee1615b07fb0909d0eced992\u0026amp;signature=113d8f09ea23536d8c7afe9ac2b763a3efe5ac0c94d3e471fc82b483ab21f152\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Media - Notra Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Frame screenshots, and embed your own videos or YouTube.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://notra.mintlify.site/docs/_mintlify/api/og/v2?division=Components\u0026amp;title=Media\u0026amp;description=Frame+screenshots%2C+and+embed+your+own+videos+or+YouTube.\u0026amp;theme=ee1615b07fb0909d0eced992\u0026amp;signature=113d8f09ea23536d8c7afe9ac2b763a3efe5ac0c94d3e471fc82b483ab21f152\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/notra/sxLIY7EtkqgtHg_V/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Notra Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b5cf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.usenotra.com/docs/sites/components/media\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sites/components/media.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.usenotra.com/#organization\",\"name\":\"Notra Documentation\",\"url\":\"https://www.usenotra.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/notra/2ET3yj_w1EiaVUnN/logo/notra-wordmark.svg?fit=max\u0026auto=format\u0026n=2ET3yj_w1EiaVUnN\u0026q=85\u0026s=ec067541de0d7eb5eb2bddf6eed3e9b4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.usenotra.com/docs#website\",\"name\":\"Notra Documentation\",\"url\":\"https://www.usenotra.com/docs\",\"publisher\":{\"@id\":\"https://www.usenotra.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.usenotra.com/docs/sites/components/media#webpage\",\"url\":\"https://www.usenotra.com/docs/sites/components/media\",\"name\":\"Media\",\"description\":\"Frame screenshots, and embed your own videos or YouTube.\",\"dateModified\":\"2026-10-08T16:05:51.000Z\",\"isPartOf\":{\"@id\":\"https://www.usenotra.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.usenotra.com/docs/sites/components/media#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.usenotra.com/docs/sites/components/media#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Components\",\"item\":\"https://www.usenotra.com/docs/sites/components/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Media\",\"item\":\"https://www.usenotra.com/docs/sites/components/media\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.usenotra.com/docs/sites/components/media#article\",\"headline\":\"Media\",\"name\":\"Media\",\"description\":\"Frame screenshots, and embed your own videos or YouTube.\",\"url\":\"https://www.usenotra.com/docs/sites/components/media\",\"mainEntityOfPage\":{\"@id\":\"https://www.usenotra.com/docs/sites/components/media#webpage\"},\"dateModified\":\"2026-10-08T16:05:51.000Z\",\"publisher\":{\"@id\":\"https://www.usenotra.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.usenotra.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Notra Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Notra Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/sites/components/media.md","siteName":"Notra Documentation","nav":{"global":null,"tabs":[{"tab":"GEO","icon":"chart-line","pages":[{"title":"GEO","href":"/quickstart"}]},{"tab":"Autopilot","icon":"rocket","pages":[{"title":"Autopilot","href":"/autopilot/overview"}]},{"tab":"Sites","icon":"globe","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Notra Sites","sidebarTitle":"Overview","href":"/sites/overview"},{"title":"Quickstart","href":"/sites/quickstart"},{"title":"Examples","href":"/sites/examples"}]},{"group":"Domains","icon":"globe","pages":[{"title":"Choose a domain","sidebarTitle":"Overview","href":"/sites/domains/overview"},{"title":"Set up a subdomain","sidebarTitle":"Subdomain","href":"/sites/domains/subdomain"},{"title":"Serve your site under a path","sidebarTitle":"Path on your website","href":"/sites/domains/subpath"},{"group":"Path guides","pages":[{"title":"Serve your site under a path on Vercel","sidebarTitle":"Vercel","href":"/sites/domains/vercel"},{"title":"Serve your site under a path with Next.js","sidebarTitle":"Next.js","href":"/sites/domains/nextjs"},{"title":"Serve your site under a path with TanStack Start","sidebarTitle":"TanStack Start","href":"/sites/domains/tanstack-start"},{"title":"Serve your site under a path with Astro","sidebarTitle":"Astro","href":"/sites/domains/astro"},{"title":"Serve your site under a path on Netlify","sidebarTitle":"Netlify","href":"/sites/domains/netlify"},{"title":"Serve your site under a path on Framer","sidebarTitle":"Framer","href":"/sites/domains/framer"},{"title":"Serve your site under a path with Cloudflare","sidebarTitle":"Cloudflare","href":"/sites/domains/cloudflare"},{"title":"Serve your site under a path with AWS CloudFront","sidebarTitle":"AWS CloudFront","href":"/sites/domains/cloudfront"},{"title":"Serve your site under a path with nginx or Caddy","sidebarTitle":"nginx and Caddy","href":"/sites/domains/nginx"}]}]},{"group":"Write content","icon":"pen-nib","pages":[{"title":"Repository layout","href":"/sites/repository"},{"title":"Posts and changelog entries","href":"/sites/posts"},{"title":"Translations","href":"/sites/translations"},{"title":"Your own components","href":"/sites/custom-components"}]},{"group":"Components","icon":"shapes","pages":[{"title":"Components","sidebarTitle":"Overview","href":"/sites/components/overview"},{"title":"Callouts","href":"/sites/components/callouts"},{"title":"Cards and columns","href":"/sites/components/cards"},{"title":"Tabs","href":"/sites/components/tabs"},{"title":"Steps","href":"/sites/components/steps"},{"title":"Accordions","href":"/sites/components/accordions"},{"title":"Code","description":"Code blocks get syntax highlighting, a copy button and a theme that matches your site.","href":"/sites/components/code"},{"title":"Media","href":"/sites/components/media"},{"title":"Badges and updates","description":"Label things inline with badges, and group release notes with Update.","href":"/sites/components/badges-and-updates"}]},{"group":"Customize","icon":"palette","pages":[{"title":"Design and CSS","href":"/sites/customize/design"},{"title":"Blog and changelog layouts","sidebarTitle":"Layouts","href":"/sites/customize/layouts"},{"title":"Logo, navigation and banner","sidebarTitle":"Navigation","href":"/sites/customize/navigation"},{"title":"Match your website","href":"/sites/match-your-website"},{"title":"SEO, share images and redirects","sidebarTitle":"SEO and redirects","href":"/sites/customize/seo"},{"title":"Custom scripts","href":"/sites/custom-scripts"}]},{"group":"Integrations","icon":"plug","pages":[{"group":"Analytics","icon":"chart-line","pages":[{"title":"Analytics integrations","sidebarTitle":"Overview","href":"/sites/integrations/analytics/overview"},{"title":"Databuddy","href":"/sites/integrations/analytics/databuddy"},{"title":"Google Analytics 4","href":"/sites/integrations/analytics/google-analytics"},{"title":"PostHog","href":"/sites/integrations/analytics/posthog"},{"title":"Plausible","href":"/sites/integrations/analytics/plausible"},{"title":"Umami","href":"/sites/integrations/analytics/umami"},{"title":"Rybbit","href":"/sites/integrations/analytics/rybbit"},{"title":"DataFast","href":"/sites/integrations/analytics/datafast"},{"title":"OneDollarStats","href":"/sites/integrations/analytics/onedollarstats"},{"title":"Simple Analytics","href":"/sites/integrations/analytics/simple-analytics"},{"title":"Capless","href":"/sites/integrations/analytics/capless"}]},{"group":"Consent","icon":"cookie-bite","pages":[{"title":"c15t cookie banner","href":"/sites/integrations/consent/c15t"}]},{"group":"Search engines","icon":"magnifying-glass","pages":[{"title":"IndexNow","href":"/sites/integrations/search/indexnow"}]}]},{"group":"Publish","icon":"paper-plane","pages":[{"title":"Publishing and deployments","sidebarTitle":"Publishing","href":"/sites/publishing"},{"title":"Previews","href":"/sites/previews"},{"title":"AI agents and search","sidebarTitle":"AI agents and search","href":"/sites/agents"}]},{"group":"Reference","icon":"book","pages":[{"title":"blog.json reference","sidebarTitle":"blog.json","href":"/sites/reference/blog-json"},{"title":"Limits and build errors","sidebarTitle":"Limits and errors","href":"/sites/reference/limits"}]}]},{"tab":"Analytics","icon":"robot","pages":[{"title":"Analytics","href":"/analytics/overview"}]},{"tab":"Playbooks","icon":"book-open","pages":[{"title":"Playbooks","href":"/playbooks/first-30-days"}]},{"tab":"Studio","icon":"pen-nib","pages":[{"title":"Studio","href":"/concepts/content-pipeline"}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/api/getting-started"}]}]},"basePath":"","title":"Media - Notra Documentation","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-ZkG8lpiu.js","DynamicMarkdown-B4E-vXj3.js","zoom-image-lightbox-Dq2Z5ult.js","lightbox-handle-r17bVUz3.js"]}