Commit 7ec113a0 authored by mgabdev's avatar mgabdev

TESTING gifs

parent 43281774
...@@ -188,9 +188,6 @@ class Item extends React.PureComponent { ...@@ -188,9 +188,6 @@ class Item extends React.PureComponent {
role='application' role='application'
src={gifsrc} src={gifsrc}
type='video/mp4' type='video/mp4'
onClick={this.handleClick}
onMouseEnter={this.handleMouseEnter}
onMouseLeave={this.handleMouseLeave}
autoPlay={autoPlay} autoPlay={autoPlay}
preload='auto' preload='auto'
loop loop
...@@ -205,8 +202,8 @@ class Item extends React.PureComponent { ...@@ -205,8 +202,8 @@ class Item extends React.PureComponent {
return ( return (
<div className={classNames('media-gallery__item', { standalone })} key={attachment.get('id')} style={{ position, float, left, top, right, bottom, height, width: `${width}%` }}> <div className={classNames('media-gallery__item', { standalone })} key={attachment.get('id')} style={{ position, float, left, top, right, bottom, height, width: `${width}%` }}>
<canvas width={32} height={32} ref={this.setCanvasRef} className={classNames('media-gallery__preview', { 'media-gallery__preview--hidden': visible && this.state.loaded })} /> <canvas width={32} height={32} ref={this.setCanvasRef} className={classNames('media-gallery__preview', { 'media-gallery__preview--hidden': true })} />
{visible && thumbnail} {thumbnail}
</div> </div>
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment