forked from treehouse/mastodon
parent
3106c81b1e
commit
937cd03a9a
|
@ -50,6 +50,7 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex='0'
|
tabIndex='0'
|
||||||
aria-label={alt}
|
aria-label={alt}
|
||||||
|
title={alt}
|
||||||
muted={muted}
|
muted={muted}
|
||||||
controls={controls}
|
controls={controls}
|
||||||
loop={!controls}
|
loop={!controls}
|
||||||
|
|
|
@ -174,6 +174,7 @@ class Item extends React.PureComponent {
|
||||||
<video
|
<video
|
||||||
className={`media-gallery__item-gifv-thumbnail${letterbox ? ' letterbox' : ''}`}
|
className={`media-gallery__item-gifv-thumbnail${letterbox ? ' letterbox' : ''}`}
|
||||||
aria-label={attachment.get('description')}
|
aria-label={attachment.get('description')}
|
||||||
|
title={attachment.get('description')}
|
||||||
role='application'
|
role='application'
|
||||||
src={attachment.get('url')}
|
src={attachment.get('url')}
|
||||||
onClick={this.handleClick}
|
onClick={this.handleClick}
|
||||||
|
|
|
@ -412,6 +412,7 @@ export default class Status extends ImmutablePureComponent {
|
||||||
{Component => (<Component
|
{Component => (<Component
|
||||||
preview={video.get('preview_url')}
|
preview={video.get('preview_url')}
|
||||||
src={video.get('url')}
|
src={video.get('url')}
|
||||||
|
alt={video.get('description')}
|
||||||
inline
|
inline
|
||||||
sensitive={status.get('sensitive')}
|
sensitive={status.get('sensitive')}
|
||||||
letterbox={settings.getIn(['media', 'letterbox'])}
|
letterbox={settings.getIn(['media', 'letterbox'])}
|
||||||
|
|
|
@ -36,6 +36,7 @@ export default class StatusCheckBox extends React.PureComponent {
|
||||||
<Component
|
<Component
|
||||||
preview={video.get('preview_url')}
|
preview={video.get('preview_url')}
|
||||||
src={video.get('url')}
|
src={video.get('url')}
|
||||||
|
alt={video.get('description')}
|
||||||
width={239}
|
width={239}
|
||||||
height={110}
|
height={110}
|
||||||
inline
|
inline
|
||||||
|
|
|
@ -60,6 +60,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||||
<Video
|
<Video
|
||||||
preview={video.get('preview_url')}
|
preview={video.get('preview_url')}
|
||||||
src={video.get('url')}
|
src={video.get('url')}
|
||||||
|
alt={video.get('description')}
|
||||||
inline
|
inline
|
||||||
sensitive={status.get('sensitive')}
|
sensitive={status.get('sensitive')}
|
||||||
letterbox={settings.getIn(['media', 'letterbox'])}
|
letterbox={settings.getIn(['media', 'letterbox'])}
|
||||||
|
|
|
@ -323,6 +323,7 @@ export default class Video extends React.PureComponent {
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex='0'
|
tabIndex='0'
|
||||||
aria-label={alt}
|
aria-label={alt}
|
||||||
|
title={alt}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
onClick={this.togglePlay}
|
onClick={this.togglePlay}
|
||||||
|
|
Loading…
Reference in New Issue