Removed unused code in Video component
• Removed: - unused code in Video component
This commit is contained in:
parent
8c047868e3
commit
5cfafc1361
@ -491,15 +491,6 @@ class Video extends ImmutablePureComponent {
|
||||
preload = 'none'
|
||||
}
|
||||
|
||||
// className={classNames('video-player', {
|
||||
// inactive: !revealed,
|
||||
// detailed,
|
||||
// inline: inline && !fullscreen,
|
||||
// fullscreen
|
||||
// })}
|
||||
|
||||
// : todo spoiler :
|
||||
|
||||
const mainContainerClasses = CX({
|
||||
d: 1,
|
||||
mt10: 1,
|
||||
@ -630,14 +621,6 @@ class Video extends ImmutablePureComponent {
|
||||
onVolumeChange={this.handleVolumeChange}
|
||||
/>
|
||||
|
||||
{ /* <div className={classNames('spoiler-button', { 'spoiler-button--hidden': revealed })}>
|
||||
<button type='button' className='spoiler-button__overlay' onClick={this.toggleReveal}>
|
||||
<span className='spoiler-button__overlay__label'>
|
||||
{intl.formatMessage(sensitive ? messages.sensitive : messages.hidden)}
|
||||
</span>
|
||||
</button>
|
||||
</div> */ }
|
||||
|
||||
<div
|
||||
className={volumeControlClasses}
|
||||
onMouseDown={this.handleVolumeMouseDown}
|
||||
|
Loading…
Reference in New Issue
Block a user