|
|
@ -182,10 +182,7 @@ class Video extends React.PureComponent { |
|
|
|
this.volume = c; |
|
|
|
this.volume = c; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
handleMouseDownRoot = e => { |
|
|
|
handleClickRoot = e => e.stopPropagation(); |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
e.stopPropagation(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handlePlay = () => { |
|
|
|
handlePlay = () => { |
|
|
|
this.setState({ paused: false }); |
|
|
|
this.setState({ paused: false }); |
|
|
@ -578,7 +575,7 @@ class Video extends React.PureComponent { |
|
|
|
ref={this.setPlayerRef} |
|
|
|
ref={this.setPlayerRef} |
|
|
|
onMouseEnter={this.handleMouseEnter} |
|
|
|
onMouseEnter={this.handleMouseEnter} |
|
|
|
onMouseLeave={this.handleMouseLeave} |
|
|
|
onMouseLeave={this.handleMouseLeave} |
|
|
|
onMouseDown={this.handleMouseDownRoot} |
|
|
|
onClick={this.handleClickRoot} |
|
|
|
onKeyDown={this.handleKeyDown} |
|
|
|
onKeyDown={this.handleKeyDown} |
|
|
|
tabIndex={0} |
|
|
|
tabIndex={0} |
|
|
|
> |
|
|
|
> |
|
|
|