Stop video tags autoplaying.
Properly, this time Fixes https://github.com/vector-im/vector-web/issues/995
This commit is contained in:
parent
f985232d29
commit
5e7eb3ee92
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module.exports = React.createClass({
|
||||||
return (
|
return (
|
||||||
<span className="mx_MVideoBody">
|
<span className="mx_MVideoBody">
|
||||||
<video className="mx_MVideoBody" src={cli.mxcUrlToHttp(content.url)} alt={content.body}
|
<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}>
|
height={height} width={width} poster={poster}>
|
||||||
</video>
|
</video>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue