Skip to content

Commit

Permalink
fix missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
souporserious committed Jul 12, 2016
1 parent 8895169 commit 493cd92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## CHANGELOG
### 0.5.1
Makes sure Youtube player is loaded before switching sources

### 0.5.0
Media component now accepts prop callbacks
Media component now accepts `autoPlay`, `loop`, and event callback props

Removed `get-file-extension` in favor of using a regex and test

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Pass the source into the decorated component. This is the source of the media yo

Pass the vendor into the decorated component. Explicitly choose which component to render for the player. If not set, the library does its best to determine what player to render based on the source.

#### `autoPlay`: PropTypes.bool

#### `loop`: PropTypes.bool

#### `onPlay`: PropTypes.func

#### `onPause`: PropTypes.func
Expand Down

0 comments on commit 493cd92

Please sign in to comment.