1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

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 (
<span className="mx_MVideoTile">
<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}>
</video>
</span>