fix autoplay on chrome and remove loop for m.video

This commit is contained in:
Matthew Hodgson 2015-11-29 12:34:01 +00:00
parent d6b188751a
commit c96fa7f15d

View file

@ -74,7 +74,7 @@ module.exports = React.createClass({
return ( return (
<span className="mx_MVideoTile"> <span className="mx_MVideoTile">
<video className="mx_MVideoTile" src={cli.mxcUrlToHttp(content.url)} alt={content.body} <video className="mx_MVideoTile" src={cli.mxcUrlToHttp(content.url)} alt={content.body}
controls preload={preload} autoPlay="false" loop controls preload={preload} autoPlay="0"
height={height} width={width} poster={poster}> height={height} width={width} poster={poster}>
</video> </video>
</span> </span>