Skip to content

Commit

Permalink
Merge pull request #5 from qq15/patch-1
Browse files Browse the repository at this point in the history
added controls on video element
  • Loading branch information
gwuhaolin authored Jun 11, 2019
2 parents 5d013af + abcc6b2 commit ea8d82f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default class Reflv extends Component {
return (
<video
className={className}
controls={true}
style={Object.assign({
width: '100%',
}, style)}
Expand Down

0 comments on commit ea8d82f

Please sign in to comment.