mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
Update index.js
This commit is contained in:
1 parent
2a74fcc70f
commit
b6d3bb505b
1 file changed
+1
-1
@@ -51,7 +51,7 @@ var art = new Artplayer({
|
|||||||
],
|
],
|
||||||
layers: [
|
layers: [
|
||||||
{
|
{
|
||||||
html: `<img style="width: 100px" src="/assets/sample/layer.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