feat: Add Artplayer.STYLE property to Artplayer class

This commit is contained in:
Harvey Zack committed 2024-06-21 11:44:02 +08:00
1 parent 5a0b80b03e
commit b2796a1f6c
3 files changed
+22

No files matched your search

@@ -17,6 +17,16 @@ var art = new Artplayer({
});
```
## STYLE
返回播放器样式文本
<div className="run-code">▶ Run Code</div>
```js
console.log(Artplayer.STYLE);
```
## CONTEXTMENU
是否开启右键菜单,默认开启
@@ -17,6 +17,16 @@ var art = new Artplayer({
});
```
## STYLE
Returns the player style text
<div className="run-code">▶ Run Code</div>
```js
console.log(Artplayer.STYLE);
```
## CONTEXTMENU
Whether to enable the right-click context menu, enabled by default.