修改字段

This commit is contained in:
al 2024-08-06 17:52:20 +08:00
parent 4142e6faf8
commit ad47c28d0f
1 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@ export default function VideoPlayer({url,key,style}) {
<div key={key} >
<ReactPlayer playbackRate={rate} url={url} width={150} controls style={style}/>
<Select onChange={(e) => setRate(e)} value={rate}>
<Select.Option value={1}>1x</Select.Option>
<Select.Option value={2}>2x</Select.Option>
<Select.Option value={3}>3x</Select.Option>
<Select.Option value={5}>5x</Select.Option>
<Select.Option value={1}>x1</Select.Option>
<Select.Option value={2}>x2</Select.Option>
<Select.Option value={3}>x3</Select.Option>
<Select.Option value={5}>x5</Select.Option>
</Select>
</div>
);