mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 09:06:16 -08:00
feat: enhance liquid glass plugin with customizable width and improved s…
This commit is contained in:
1 parent
efa757ca2d
commit
b7d94558b2
6 files changed
+26
-12
No files matched your search
@@ -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',
|
||||
}),
|
||||
],
|
||||
})
|
||||
Reference in new issue
Block a user