alt is not valid on video element

pull/21833/head
Will Hunt 2020-10-23 16:42:23 +01:00
parent 7164284bb6
commit e5228e2795
1 changed files with 1 additions and 1 deletions

View File

@ -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>