Improving Video Section

This commit is contained in:
Dom Masters
2018-05-07 08:34:48 +10:00
parent 7bf3f588ca
commit 462006ab0a
4 changed files with 39 additions and 4 deletions

View File

@ -35,7 +35,8 @@ class VideoSection extends React.Component {
<Section full={this.props.full} className="c-video-section">
<Video
className="c-video-section__video"
sources={ this.props.sources ? this.props.sources : this.props }
autoPlay
loop
/>
{ this.props.children }