mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 00:06:17 -08:00
feat: Add Artplayer.STYLE property to Artplayer class
This commit is contained in:
1 parent
5a0b80b03e
commit
b2796a1f6c
3 files changed
+22
No files matched your search
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- 新增 `Artplayer.STYLE` 属性,返回播放器样式文本
|
||||
|
||||
## [5.1.6] - 2024-6-15
|
||||
|
||||
- 优化 `setBar` 事件
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user