add Artplayer.PROGRESS_HEIGHT

This commit is contained in:
Harvey Zack committed 2022-11-03 22:13:30 +08:00
1 parent 6f94ebade3
commit 3d72f2d95f
7 files changed
+26 -10

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- 新增 `Artplayer.PLAYBACK_RATE` 用于设置默认播放速度,默认 `[0.5, 0.75, 1, 1.25, 1.5, 2]`
- 新增 `Artplayer.ASPECT_RATIO` 用于设置默认长宽比,默认 `['default', '4:3', '16:9']`
- 新增 `Artplayer.FLIP` 用于设置默认翻转功能,默认 `['normal', 'horizontal', 'vertical']`
- 新增 `Artplayer.PROGRESS_HEIGHT` 用于设置进度条高度,默认为 `4`
- 打包添加 `legacy.js` 版本,用于兼容更老的浏览器,但相对体积较大
## [4.5.8] - 2022-10-9