feat: enhance liquid glass plugin with customizable width and improved s…

This commit is contained in:
Harvey Zhao committed 2025-12-13 17:05:51 +08:00
1 parent efa757ca2d
commit b7d94558b2
6 files changed
+26 -12

No files matched your search

+3 -2
View File
@@ -10,7 +10,6 @@ let art = new Artplayer({
fullscreen: true,
fullscreenWeb: true,
miniProgressBar: true,
autoPlayback: true,
flip: true,
playbackRate: true,
aspectRatio: true,
@@ -22,7 +21,9 @@ let art = new Artplayer({
},
plugins: [
artplayerPluginLiquidGlass({
width: '500px',
width: '75%',
'max-width': '640px',
'min-width': '320px',
}),
],
})