Commit 2c970ec0f67d283a39fd4c65c68316ec1547262b

Authored by 史婷婷
1 parent bda22930

feat: 视频播放增加控制条

Showing 1 changed file with 1 additions and 2 deletions
... ... @@ -33,10 +33,9 @@ const VideoPlay: React.FC<VideoPlayProps> = (props) => {
33 33 props?.url ? <video
34 34 id={props?.url}
35 35 ref={videoRef}
  36 + controls={true}
36 37 autoPlay
37 38 loop
38   - muted
39   - playsInline
40 39 className={`${props?.className}`}
41 40 >
42 41 <source src={props?.url} type="video/mp4" />
... ...