Removed unused code in Video component

• Removed:
- unused code in Video component
This commit is contained in:
mgabdev 2020-09-02 13:11:22 -05:00
parent 8c047868e3
commit 5cfafc1361

View File

@ -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}