Update documentations for new version

This commit is contained in:
Korbs 2025-02-05 22:47:26 -05:00
parent ded7d47e1e
commit d3a7d577f7
Signed by: Korbs
SSH key fingerprint: SHA256:Q0b0KraMldpAO9oKa+w+gcsXsOTykQ4UkAKn0ByGn5U
9 changed files with 197 additions and 76 deletions

View file

@ -6,6 +6,43 @@ Type: Document
import {Code} from "astro:components"
import {Zorn} from "@minpluto/zorn"
<Zorn
PlayerName="ennie_and_yoyki"
Poster="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Poster.png"
Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki:%20Non-Girly%20Games.mp4"
ShowPlaybackRate
Settings={
[
{
"Type": "Button",
"Name": "Stats for Geeks",
"Action": "null",
},
{
"Type": "Separator"
},
{
"Type": "Link",
"Name": "Open Video URL",
"Action": "#",
},
{
"Type": "Link",
"Name": "Download",
"Action": "#",
},
{
"Type": "Link",
"Name": "Embed",
"Action": "#",
},
{
"Type": "Separator"
},
]
}
/>
## Automated items
When enabling certain functions and features of Zorn, certain items will automatically be added to the main settings menu. As an example, if you enable `Milieu`, an item named "Milieu" will be added and it's setup to open the Milieu menu.
@ -31,9 +68,9 @@ To setup the settings menu with your own custom items, you'll need to setup an a
"Name": "Menu Item Button",
"Action": "null",
},
{
"Type": "Separator"
},
{
"Type": "Separator"
},
{
"Type": "Link",
"Name": "Menu Item Link",
@ -46,7 +83,7 @@ To setup the settings menu with your own custom items, you'll need to setup an a
| Variable | Option |
|--------------------|---------------------------------------------------------------|
| Type | `Button` or `Link` |
| Type | `Button`, `Link`, or `Separator` |
| Name | string |
| Action (Button) | `onclick` - Use JavaScript |
| Action (Link) | `href` - Use a link |