Skip to content

Commit

Permalink
fix: 🐛 (xgplayer) playbackRate 类型不应为数字,并支持布尔值 #1573
Browse files Browse the repository at this point in the history
  • Loading branch information
gemxx committed Aug 22, 2024
1 parent 94e027b commit b388c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xgplayer/src/defaultConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b388c2d

Please sign in to comment.