From 0a7f331c1f5d3941e2b7b3877e243ae8451aede7 Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 4 Nov 2024 19:52:55 -0500 Subject: [PATCH] Add new demo page for "Multi-Instance" demo --- test/src/components/Switcher.astro | 1 + test/src/pages/multi.astro | 91 ++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 test/src/pages/multi.astro diff --git a/test/src/components/Switcher.astro b/test/src/components/Switcher.astro index b3d428e..3a9b42a 100644 --- a/test/src/components/Switcher.astro +++ b/test/src/components/Switcher.astro @@ -3,6 +3,7 @@ Separated Audio Live Stream Milieu Effect + Multiple Instances + +
+

+ As of Zorn Player v0.4.6, it is now possible to have multiple instances of the player on one page. With the new PlayerName option, which is required from now on. +
+
+ This update now identities each Zorn Player with the PlayerName option, as an ID such as zorn-player-PLAYER_NAME_HERE is now used. +
+
+ The PlayerName option will be identited by the built-in scripts using Astro's definer:vars feature for the script tag. +

+

+ Having multiple instances can still be buggy, depending on how you have it setup. +

+
+ \ No newline at end of file