Commit 19c0064e authored by mgabdev's avatar mgabdev

(Test) Added muted, playsInline keys on <video />

border style for reference
parent b4f67a72
......@@ -432,6 +432,8 @@ class Video extends React.PureComponent {
<canvas width={32} height={32} ref={this.setCanvasRef} className={classNames('media-gallery__preview', { 'media-gallery__preview--hidden': revealed })} />
{revealed && <video
muted
playsInline
ref={this.setVideoRef}
src={src}
poster={preview}
......@@ -451,6 +453,7 @@ 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 })}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment