Stop video tags autoplaying.
Properly, this time Fixes https://github.com/vector-im/vector-web/issues/995pull/21833/head
parent
f985232d29
commit
5e7eb3ee92
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue