video-react icon indicating copy to clipboard operation
video-react copied to clipboard

Player 下的播放按钮样式如何覆盖?现在写的无法使用

Open zfing opened this issue 4 years ago • 1 comments

Player 下的播放按钮样式如何覆盖?现在写的无法使用 <Player ref="player" fluid={false} width={'auto'} height={150} className="player_video_react" > </Player> .player_video_react .video-react .video-react-big-play-button{ width: 30px !important; height: 30px !important; font-size: 30px !important; top: 50% !important; margin-top: -15px !important; margin-left: -15px !important; left: 50% !important; line-height: normal !important; }

zfing avatar Sep 27 '20 10:09 zfing

可以自己写个类似 big play button 的组件,然后把已有的禁用

<BigPlayButton disabled /> <Bezel disabled />

Clovin avatar Nov 09 '20 04:11 Clovin