zhihu / griffith

A React-based web video player

Home Page:https://codesandbox.io/embed/p03wm0o80

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hiddenPlayButton is not work

king-lxt opened this issue · comments

commented

When I set the hidden play button to true, it does not take effect

commented

@king-lxt This prop is used to hide button in player controller:

{!hiddenPlayButton && (
<PlayButtonItem
isPlaying={isPlaying}
onClick={() => this.handleToggle('button')}
/>