mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
alt is not valid on video element
This commit is contained in:
parent
7164284bb6
commit
e5228e2795
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ export default class MVideoBody extends React.PureComponent<IProps, IState> {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<span className="mx_MVideoBody">
|
<span className="mx_MVideoBody">
|
||||||
<video className="mx_MVideoBody" src={contentUrl} alt={content.body}
|
<video className="mx_MVideoBody" src={contentUrl} title={content.body}
|
||||||
controls preload={preload} muted={autoplay} autoPlay={autoplay}
|
controls preload={preload} muted={autoplay} autoPlay={autoplay}
|
||||||
height={height} width={width} poster={poster} onPlay={this._videoOnPlay.bind(this)}>
|
height={height} width={width} poster={poster} onPlay={this._videoOnPlay.bind(this)}>
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Reference in a new issue