fix: 🐛 (xgplayer) playbackRate 类型不应为数字,并支持布尔值 #1573

This commit is contained in:
gemstone 2024-08-22 12:05:26 +08:00
parent 94e027b3fb
commit b388c2dca3

View File

@ -73,7 +73,7 @@ import { getLang } from './utils/util'
* keyShortcut?: boolean,
* presets?: any[],
* plugins?: any[]
* playbackRate?: number | Array<number> | { [propName: string]: any },
* playbackRate?: boolean | Array<number> | { [propName: string]: any },
* definition?: { list: Array<IDefinition> , defaultDefinition?: IDefinition['definition'], [propName: string]: any},
* playsinline?: boolean,
* customDuration?: number,