Skip to content

Commit

Permalink
Fix FilePlayer width and height
Browse files Browse the repository at this point in the history
Setting width and height from props made no sense, so use 100% to fill the container element and remain consistent with other players
  • Loading branch information
cookpete committed Jan 8, 2016
1 parent ce021f9 commit 97eb231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default class FilePlayer extends Base {
<Media
ref='player'
style={style}
width={this.props.width}
height={this.props.height}
width='100%'
height='100%'
preload='auto'
/>
)
Expand Down

0 comments on commit 97eb231

Please sign in to comment.