mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
Add artplayer-plugin-ambilight package and demo
This commit is contained in:
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;
|
||||
Reference in new issue
Block a user