diff --git a/apps/typegpu-docs/src/components/Videos.astro b/apps/typegpu-docs/src/components/Videos.astro index 3acd452755..43bb9d47fe 100644 --- a/apps/typegpu-docs/src/components/Videos.astro +++ b/apps/typegpu-docs/src/components/Videos.astro @@ -57,6 +57,7 @@ const videos = [ title="YouTube video player" class={video.iframeClassName ?? ''} frameborder="0" + credentialless allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen diff --git a/apps/typegpu-docs/src/components/landing-examples/HoverExampleIsland.tsx b/apps/typegpu-docs/src/components/landing-examples/HoverExampleIsland.tsx index 07400ae88a..b34d2491e0 100644 --- a/apps/typegpu-docs/src/components/landing-examples/HoverExampleIsland.tsx +++ b/apps/typegpu-docs/src/components/landing-examples/HoverExampleIsland.tsx @@ -82,8 +82,8 @@ export default function HoverExampleIsland({
}> {isHydrated && isGPUSupported && isActive ? liveComponent : null} diff --git a/apps/typegpu-docs/src/env.d.ts b/apps/typegpu-docs/src/env.d.ts index 17731596ff..2f37184d6a 100644 --- a/apps/typegpu-docs/src/env.d.ts +++ b/apps/typegpu-docs/src/env.d.ts @@ -1,3 +1,10 @@ // oxlint-disable typescript/triple-slash-reference /// /// + +namespace astroHTML.JSX { + interface IframeHTMLAttributes { + // This attribute exists + credentialless?: boolean | undefined; + } +} diff --git a/apps/typegpu-docs/src/pages/new/index.astro b/apps/typegpu-docs/src/pages/new/index.astro index cd88d363e2..274a5ab3a1 100644 --- a/apps/typegpu-docs/src/pages/new/index.astro +++ b/apps/typegpu-docs/src/pages/new/index.astro @@ -23,14 +23,14 @@ import SecondaryButton from '../../components/SecondaryButton.astro'; edgeAwareOverscroll >