Update index.js

This commit is contained in:
Harvey committed 2020-05-20 10:32:13 +08:00
1 parent 6cb6036b73
commit a4535bcc6c
1 file changed
+1 -1
+1 -1
View File
@@ -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');
}, },