mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
add volume
This commit is contained in:
1 parent
dfd71c06b6
commit
c69c3a42ed
14 files changed
+157
-38
No files matched your search
+1
-9
@@ -65,18 +65,10 @@
|
||||
player.layers.add({
|
||||
index: 1,
|
||||
name: 'your-name',
|
||||
html: `
|
||||
<div>
|
||||
<img style="width: 100px" src="./img/yourName.png">
|
||||
<p style="margin: 0;">点击关闭</p>
|
||||
</div>
|
||||
`,
|
||||
html: '<img style="width: 100px" src="./img/yourName.png">',
|
||||
style: {
|
||||
'font-size': '12px',
|
||||
'text-shadow': '0.5px 0.5px 0.5px rgba(0,0,0,.5)',
|
||||
'top': '20px',
|
||||
'right': '20px',
|
||||
'text-align': 'center',
|
||||
'opacity': '.9'
|
||||
}
|
||||
}, dom => {
|
||||
|
||||
Reference in new issue
Block a user