This commit is contained in:
Korbs 2024-11-29 17:59:05 -05:00
parent c1602e7087
commit cc393b7840
2 changed files with 20 additions and 3 deletions

View file

@ -5,7 +5,7 @@
<br/> <br/>
<div align="center"> <div align="center">
Tailored for MinPluto, customizable for you. In-House Player built by MinPluto
<br /> <br />
<br /> <br />
<br /> <br />
@ -215,6 +215,23 @@ Just add the `Live` option with an `.m3u8` source.
<Zorn Live Video="https://example.org/cats.m3u8"/> <Zorn Live Video="https://example.org/cats.m3u8"/>
``` ```
**YouTube** - `YouTube WatchId=""`
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.
```jsx
<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 |
## Compatibility ## Compatibility
### Web Browsers ### Web Browsers
| Browser | Live Streams |Player | CSS | JavaScript | Milieu | | Browser | Live Streams |Player | CSS | JavaScript | Milieu |

View file

@ -1,7 +1,7 @@
{ {
"name": "@minpluto/zorn", "name": "@minpluto/zorn",
"author": "SudoVanilla", "author": "SudoVanilla",
"description": "Tailored for MinPluto, customizable for you.", "description": "In-House Player built by MinPluto",
"repository": { "repository": {
"url": "https://codeberg.org/MinPluto/Zorn" "url": "https://codeberg.org/MinPluto/Zorn"
}, },
@ -15,7 +15,7 @@
"live-streaming" "live-streaming"
], ],
"type": "module", "type": "module",
"version": "0.4.65", "version": "0.4.66",
"exports": { "exports": {
".": "./index.ts" ".": "./index.ts"
}, },