Add artplayer-plugin-ambilight package and demo

This commit is contained in:
Harvey Zack committed 2024-10-19 13:53:36 +08:00
1 parent 406d71b53c
commit 5dfe50c719
10 files changed
+501

No files matched your search

@@ -0,0 +1,20 @@
import type Artplayer from 'artplayer';
export = artplayerPluginAmbilight;
export as namespace artplayerPluginAmbilight;
type Option = {
blur: string;
opacity: number;
frequency: number;
zIndex: number;
duration: number;
};
type Result = {
name: 'artplayerPluginAmbilight';
start: () => void;
stop: () => void;
};
declare const artplayerPluginAmbilight: (option: Option) => (art: Artplayer) => Result;