mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
优化测试用例
This commit is contained in:
1 parent
a4535bcc6c
commit
2d16171720
6 files changed
+574
-211
No files matched your search
@@ -34,7 +34,7 @@ var art = new Artplayer({
|
||||
contextmenu: [
|
||||
{
|
||||
html: 'Custom menu',
|
||||
click: function(contextmenu) {
|
||||
click: function (contextmenu) {
|
||||
console.info('You clicked on the custom menu');
|
||||
contextmenu.show = false;
|
||||
},
|
||||
@@ -43,7 +43,7 @@ var art = new Artplayer({
|
||||
layers: [
|
||||
{
|
||||
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
|
||||
click: function() {
|
||||
click: function () {
|
||||
console.info('You clicked on the custom layer');
|
||||
},
|
||||
style: {
|
||||
@@ -104,7 +104,7 @@ var art = new Artplayer({
|
||||
{
|
||||
position: 'right',
|
||||
html: 'Control',
|
||||
click: function() {
|
||||
click: function () {
|
||||
console.info('You clicked on the custom control');
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user