mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
添加更多设置项
This commit is contained in:
1 parent
0bc9c88af2
commit
f6295c1fbc
6 files changed
+149
-9
No files matched your search
@@ -13,7 +13,7 @@ export default function playbackRateMix(art, player) {
|
||||
|
||||
Object.defineProperty(player, 'playbackRate', {
|
||||
value: rate => {
|
||||
const rateList = [0.5, 0.75, 1.0, 1.25, 1.5, 2.0];
|
||||
const rateList = [0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0];
|
||||
errorHandle(rateList.includes(rate), `'playbackRate' only accept ${rateList.toString()} as parameters`);
|
||||
|
||||
if (rate === $player.dataset.playbackRate) {
|
||||
|
||||
Reference in new issue
Block a user