mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
Update index.js
This commit is contained in:
1 parent
6cb6036b73
commit
a4535bcc6c
1 file changed
+1
-1
@@ -42,7 +42,7 @@ var art = new Artplayer({
|
|||||||
],
|
],
|
||||||
layers: [
|
layers: [
|
||||||
{
|
{
|
||||||
html: `<img style="width: 100px" src="${url}/image/your-name.png">`,
|
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
|
||||||
click: function() {
|
click: function() {
|
||||||
console.info('You clicked on the custom layer');
|
console.info('You clicked on the custom layer');
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user