Commit c7969ab9 authored by mgabdev's avatar mgabdev

TESTING gifs

parent 9c843d58
......@@ -51,12 +51,12 @@ class Item extends React.PureComponent {
}
handleLoadedData = (e) => {
console.log("handleLoadedData:", e, this.hoverToPlay());
if (!this.hoverToPlay()) {
e.target.play();
}
}
hoverToPlay () {
const { attachment } = this.props;
return autoPlayGif === false && attachment.get('type') === 'gifv';
......
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