Playback rate (#411)

* update
This commit is contained in:
Harvey Zack authored and GitHub committed 2022-10-29 21:14:17 +08:00
1 parent efc9cf7362
commit 6715bc457a
16 files changed
+268 -267

No files matched your search

+4
View File
@@ -5,8 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
- 添加 `art.type` 属性,用于获取和设置视频类型
- 添加 `art.video` 属性,用于获取 `video` 元素
- 添加 `artplayer-plugin-iframe` 插件,用于控制 `iframe` 里的播放器
- 添加 `artplayer-plugin-hls-quality` 插件,用于添加 `Hls` 画质列表到播放器
- 新增 `Artplayer.PLAYBACK_RATE` 用于设置默认播放速度
- 新增 `Artplayer.ASPECT_RATIO` 用于设置默认长宽比
- 新增 `Artplayer.FLIP` 用于设置默认翻转
- 打包添加 `legacy.js` 版本,用于兼容更老的浏览器,但相对体积较大
## [4.5.8] - 2022-10-9