Improving video sections.

This commit is contained in:
Dom Masters
2018-05-08 06:55:22 +10:00
parent 462006ab0a
commit 86e66b48fb
4 changed files with 37 additions and 9 deletions

View File

@ -37,6 +37,8 @@ class VideoSection extends React.Component {
className="c-video-section__video"
autoPlay
loop
fill
sources={ this.props.sources ? this.props.sources : this.props }
/>
{ this.props.children }