Stop video tags autoplaying.

Properly, this time

Fixes https://github.com/vector-im/vector-web/issues/995
pull/21833/head
Richard van der Hoff 2016-03-10 17:38:14 +00:00
parent f985232d29
commit 5e7eb3ee92
1 changed files with 1 additions and 1 deletions

View File

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