Update HLS, FLV, and DASH player configurations

Update progress bar height in Artplayer

Add dynamic layer, controller, menu, and setting item management

Update Changelog_CN

Update utils.js

Update package.json

Update built-in management in Artplayer

Update i18n documentation

Add support for new languages

Update language import and modification
This commit is contained in:
Harvey Zack committed 2023-11-26 10:30:24 +08:00
1 parent 73fb04737a
commit bbbeca6e4c
21 files changed
+931 -327

No files matched your search

@@ -1,19 +1,19 @@
# Contextmenu
# 右键菜单
## Config
## 配置
| Property | Type | Describe |
| --------- | ------------------- | ---------------------------------------------- |
| `disable` | `Boolean` | Whether to disable the component |
| `name` | `String` | Component unique name, used to mark class name |
| `index` | `Number` | Component index, used for display priority |
| `html` | `String`, `Element` | DOM element of the component |
| `style` | `Object` | component style object |
| `click` | `Function` | Component click event |
| `mounted` | `Function` | Triggered after the component is mounted |
| `tooltip` | `String` | Tooltip text for the component |
| 属性 | 类型 | 描述 |
| --------- | ------------------- | -------------------------- |
| `disable` | `Boolean` | 是否禁用组件 |
| `name` | `String` | 组件唯一名称,用于标记类名 |
| `index` | `Number` | 组件索引,用于显示的优先级 |
| `html` | `String`, `Element` | 组件的 DOM 元素 |
| `style` | `Object` | 组件样式对象 |
| `click` | `Function` | 组件点击事件 |
| `mounted` | `Function` | 组件挂载后触发 |
| `tooltip` | `String` | 组件的提示文本 |
## Init
## 创建
<div className="run-code">▶ Run Code</div>
@@ -39,7 +39,7 @@ art.contextmenu.show = true;
console.info(art.contextmenu['your-menu']);
```
## Add
## 添加
<div className="run-code">▶ Run Code</div>
@@ -64,7 +64,7 @@ art.contextmenu.show = true;
console.info(art.contextmenu['your-menu']);
```
## Remove
## 删除
<div className="run-code">▶ Run Code</div>
@@ -94,7 +94,7 @@ art.on('ready', () => {
});
```
## Update
## 更新
<div className="run-code">▶ Run Code</div>