@@ -86,14 +85,6 @@ const player = html` `/assets/icons/${iconName}.svg`;
-}
-
// Vime elements for audio player
customElements.define("vm-player", VmPlayer);
customElements.define("vm-file", VmFile);
diff --git a/app/Resources/js/embed.ts b/app/Resources/js/embed.ts
index 9bad2538..c0da411d 100644
--- a/app/Resources/js/embed.ts
+++ b/app/Resources/js/embed.ts
@@ -35,14 +35,6 @@ import {
import "@vime/core/themes/default.css";
import "@vime/core/themes/light.css";
-// Register Castopod's icons library
-const library: HTMLVmIconLibraryElement | null = document.querySelector(
- 'vm-icon-library[name="castopod-icons"]'
-);
-if (library) {
- library.resolver = (iconName) => `/assets/icons/${iconName}.svg`;
-}
-
// Vime elements for audio player
customElements.define("vm-player", VmPlayer);
customElements.define("vm-file", VmFile);
diff --git a/themes/cp_app/embed.php b/themes/cp_app/embed.php
index 498f1de5..f74fb9be 100644
--- a/themes/cp_app/embed.php
+++ b/themes/cp_app/embed.php
@@ -40,7 +40,6 @@
id="castopod-vm-player"
theme="= str_starts_with($theme, 'dark') ? 'dark' : 'light' ?>"
language="= service('request')->getLocale() ?>"
- icons="castopod-icons"
class="w-full mt-auto"
style="--vm-player-box-shadow:0; --vm-player-theme: hsl(var(--color-accent-base)); --vm-control-focus-color: hsl(var(--color-accent-contrast)); --vm-control-spacing: 4px; --vm-menu-item-focus-bg: hsl(var(--color-background-highlight)); --vm-control-icon-size: 24px; = str_ends_with($theme, 'transparent') ? '--vm-controls-bg: transparent;' : '' ?>"
>
@@ -55,7 +54,7 @@
-
+