Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e5228e2

Browse files
committed
alt is not valid on video element
1 parent 7164284 commit e5228e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/messages/MVideoBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default class MVideoBody extends React.PureComponent<IProps, IState> {
215215
}
216216
return (
217217
<span className="mx_MVideoBody">
218-
<video className="mx_MVideoBody" src={contentUrl} alt={content.body}
218+
<video className="mx_MVideoBody" src={contentUrl} title={content.body}
219219
controls preload={preload} muted={autoplay} autoPlay={autoplay}
220220
height={height} width={width} poster={poster} onPlay={this._videoOnPlay.bind(this)}>
221221
</video>

0 commit comments

Comments
 (0)