From 29aaefd4f797a726953f88fbd7e06c69e687b4f9 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 29 Nov 2024 22:30:16 -0500 Subject: [PATCH] Breaking change: Custom settings menu has slot name now --- src/Player.astro | 12 +++++++++--- test/src/pages/index.astro | 19 +++++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/Player.astro b/src/Player.astro index 86a1ce3..dd7b41f 100644 --- a/src/Player.astro +++ b/src/Player.astro @@ -11,6 +11,8 @@ const { VideoAttributes, AudioAttributes, + ShowBackAndForward, + YouTube = false, YouTubeQuality = '137', Invidious, @@ -68,12 +70,16 @@ import './Styles/Iconoir.css' null } {SettingsMenu ? - + - +
+ + {Whitelabel ? Zorn Player : null} +
+
: - + } diff --git a/test/src/pages/index.astro b/test/src/pages/index.astro index 7641ed9..e340297 100644 --- a/test/src/pages/index.astro +++ b/test/src/pages/index.astro @@ -14,8 +14,9 @@ import {Zorn} from '@minpluto/zorn' Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki%3A%20Non-Girly%20Games.mp4" CustomControlsWithMenu SettingsMenu + Whitelabel > -
+
@@ -25,13 +26,15 @@ import {Zorn} from '@minpluto/zorn' -
-
- - - - -
+ + +
+ + + + +
+

Source: YouTube