mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
fix autoplay on chrome and remove loop for m.video
This commit is contained in:
parent
d6b188751a
commit
c96fa7f15d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user