From 994248c667c6842db602a906285045e9bf808fc4 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 29 Nov 2024 22:33:07 -0500 Subject: [PATCH] Update docs --- README.md | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8190dcd..85b9f71 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,14 @@ Remote: ``` +**Show Backwards and Forwards Button** - `ShowBackAndForward` + +By default, these buttons are hidden. If you want to show them, just add the `ShowBackAndForward` option: + +```jsx + +``` + **Settings Menu** - `SettingsMenu` @@ -134,7 +142,7 @@ To enable the menu, add the `SettingsMenu` option: Then, as a slot, add your menu like so: ```jsx -
+
@@ -143,16 +151,19 @@ Then, as a slot, add your menu like so:
-
+
``` + +Remember to add it as a slot with the slot name of `menu`. + > [!NOTE] > Use `OpenZornMenu()` as the open menu function. You can use the scripts provided in `/test/` of this package. You can also add sub-menus with additional scripts you'll need to add: ```jsx -
+
@@ -161,14 +172,15 @@ You can also add sub-menus with additional scripts you'll need to add:
- -
-
- - - - -
+ + +
+ + + + +
+
``` +Remember to add it as a slot with the slot name of `extra-menus`. + **Attributes** - `VideoAttributes` / `AudioAttributes` If you need to add an addition attribute to either the video and/or audio source, then you can with `VideoAttributes` and `AudioAttributes`.