From 48a44dade7158142548b4b6c27232cf71e09be66 Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 11 Nov 2024 21:56:07 -0500 Subject: [PATCH] Add Milieu modes and settings --- TODO.md | 10 +++++----- package.json | 2 +- src/Features/Milieu.astro | 27 ++++++++++++++++++++++++--- src/Player.astro | 22 +++++++++++++++++++++- src/Styles/Index.scss | 4 +--- 5 files changed, 52 insertions(+), 13 deletions(-) diff --git a/TODO.md b/TODO.md index df05778..790a1a1 100644 --- a/TODO.md +++ b/TODO.md @@ -10,11 +10,11 @@ - [x] Allow for multiple players on one page - [ ] 360 Video Support - [x] Remove Iconoir's Vue package, [replace with CSS](https://iconoir.com/docs/packages/css) - - [ ] Milieu Settings - - [ ] Mode (Default | Fullscreen) - - [ ] Speed (Default | Instant | Slow) - - [ ] Blur - - [ ] Scale + - [x] Milieu Settings + - [x] Mode (Default | Fullscreen) + - [x] Speed + - [x] Blur + - [x] Scale - [ ] Modes - [ ] Audio-Only - [ ] Pop-Up diff --git a/package.json b/package.json index 8a8942b..c09bac5 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "live-streaming" ], "type": "module", - "version": "0.4.62", + "version": "0.4.63", "exports": { ".": "./index.ts" }, diff --git a/src/Features/Milieu.astro b/src/Features/Milieu.astro index 2d0cd3b..362aa75 100644 --- a/src/Features/Milieu.astro +++ b/src/Features/Milieu.astro @@ -1,12 +1,33 @@ --- const { - PlayerName + PlayerName, + MilieuMode, + MilieuSpeed, + MilieuBlur, + MilieuScale, } = Astro.props --- -