title: React video rendering
body: <p>i am having problems with rendering videos with react. Its somehow overlapping videos. In source code its right, but in page view its not correct. It happens only to one video. Every time it happens to different video etc. </p>
  
  <p>When you check in object inspector. I have working stuff in php, but with react is doing this rendering problem i don't exactly know if its browser rendering problem or reactjs. I tried it on all browsers and doing same thing.</p>
  
  <p><a href="http://i.stack.imgur.com/Hs22B.jpg" rel="nofollow">Rendering problem on image</a></p>
  
  <p>Source of video in second row and column:</p>
  
  <pre><code>&lt;a href="https://instagram.com/p/9QfapSvLHD/" target="_blank" class="life-one-photo table-cell modal" data-reactid=".0.0.$5"&gt;
     &lt;video loop="" autoplay="" muted="" poster="https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/12145465_444078379115659_399268826_n.jpg" class="life-one-photo-video" data-reactid=".0.0.$5.0"&gt;
       &lt;source src="https://scontent.cdninstagram.com/hphotos-xaf1/t50.2886-16/12136722_988951267856293_201072634_n.mp4" data-reactid=".0.0.$5.0.0"&gt;
    &lt;/video&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Source of second row and fourth column:</p>
  
  <pre><code>&lt;a href="https://instagram.com/p/9HYbUYvLIT/" target="_blank" class="life-one-photo table-cell modal" data-reactid=".0.0.$7"&gt;
    &lt;video loop="" autoplay="" muted="" poster="https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/12142112_830542177065598_1671839696_n.jpg" class="life-one-photo-video" data-reactid=".0.0.$7.0"&gt;
      &lt;source src="https://scontent.cdninstagram.com/hphotos-xaf1/t50.2886-16/12125856_1718151458404599_30943699_n.mp4" data-reactid=".0.0.$7.0.0"&gt;
    &lt;/video&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>You can seee source is different but still video is same, i don't rly know whats happening here. Plus if takes a lot more of cpu when is rendered with react but not in php. I have same stuff rendered by php and it works good,
  React snippet of code creating posts:</p>
  
  <pre><code>export default class Post extends Component {
    render() {
      const data = this.props.image.type === 'video' ?
        &lt;video loop autoPlay muted poster={this.props.image.source} className="life-one-photo-video"&gt;
          &lt;source src={this.props.image.sourceVideo}/&gt;
        &lt;/video&gt; :
  
      &lt;img src={this.props.image.source} className="life-one-photo-img"/&gt;
  
      return (
        &lt;a href={this.props.image.link} target="_blank" className="life-one-photo table-cell modal"&gt;
          {data}
        &lt;/a&gt;
      );
    }
  }
  </code></pre>
  
  <p>When there is only images not video everything works correct, but with video is doing strange things multiple same videos on page etc..</p>
  
  <p>You can check source and test it yourself:
  <a href="https://github.com/Huvik/InstagramScroll" rel="nofollow">https://github.com/Huvik/InstagramScroll</a></p>