Updated all videos to have muted and playsInline keys

Removed autoplay on extended-video-player. Removed test border on <video />.
This commit is contained in:
mgabdev 2019-08-27 14:22:35 -04:00
parent b4f9f302de
commit 557d0cce08
4 changed files with 3 additions and 2 deletions

View File

@ -44,9 +44,9 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
return (
<div className='extended-video-player'>
<video
playsInline
ref={this.setRef}
src={src}
autoPlay
role='button'
tabIndex='0'
aria-label={alt}

View File

@ -189,6 +189,7 @@ class Item extends React.PureComponent {
autoPlay={autoPlay}
loop
muted
playsInline
/>
<span className='media-gallery__gifv__label'>GIF</span>

View File

@ -127,6 +127,7 @@ export default class MediaItem extends ImmutablePureComponent {
autoPlay={autoPlay}
loop
muted
playsInline
/>
<span className='media-gallery__gifv__label'>GIF</span>

View File

@ -454,7 +454,6 @@ class Video extends React.PureComponent {
onLoadedData={this.handleLoadedData}
onProgress={this.handleProgress}
onVolumeChange={this.handleVolumeChange}
style={{border: '2px solid blue'}}
/>}
<div className={classNames('spoiler-button', { 'spoiler-button--hidden': revealed })}>