Zorn/docs/youtube.mdx
2024-12-01 01:44:43 -05:00

592 B

Title Type
YouTube Document

import {Prism} from "@astrojs/prism" import {Zorn} from "@minpluto/zorn"

Zorn supports YouTube videos, using Invidious. Set the video id and quality in Zorn. If you do not set the quality, it'll default to 137, which is the itag for 1080p.

<Prism lang="jsx" code={<Zorn YouTube Audio WatchId="a0a0-0a000" YouTubeQuality="137">}/>

If you're setting the quality to 1080p or up, using Audio is required for Dash support.

Qaulity iTag
4320p 272
2160p 315
1080p 137
720p 302