mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
19 lines
647 B
Markdown
19 lines
647 B
Markdown
# artplayer-plugin-ambilight
|
|
|
|
ambilight plugin for ArtPlayer
|
|
|
|
`start()` and `stop()` are synchronous. The plugin starts on the player's `ready`
|
|
event; `stop()` retains its last colors. Destroying the player removes the plugin's
|
|
grid and frame loop, and previously retained methods then do nothing. Canvas read
|
|
failures are skipped and retried, allowing a later readable source to recover.
|
|
|
|
Internal modules and compatibility tests are documented in [ARCHITECTURE.md](ARCHITECTURE.md).
|
|
|
|
## Demo
|
|
|
|
[https://artplayer.org](https://artplayer.org/?libs=./uncompiled/artplayer-plugin-ambilight/index.js&example=ambilight)
|
|
|
|
## License
|
|
|
|
MIT © Harvey Zhao
|