修改字段
This commit is contained in:
parent
4142e6faf8
commit
ad47c28d0f
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue