Skip to content

Commit

Permalink
restore playInBackground and playWhenInactive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Milloy committed Dec 23, 2016
1 parent 1619d73 commit 0c686f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.1 (23-12-2016)

Restore playInBackground and playWhenInactive

## 1.1.0 (23-12-2016)

Updated to work with react-native ^0.39.2.
Expand Down
2 changes: 2 additions & 0 deletions VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,8 @@ export default class VideoPlayer extends Component {
muted={ this.state.muted }
rate={ this.state.rate }

playInBackground={ this.opts.playInBackground }
playWhenInactive={ this.opts.playWhenInactive }
repeat={ this.opts.repeat }

onLoadStart={ this.events.onLoadStart }
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-video-controls",
"version": "1.1.0",
"version": "1.1.1",
"description": "A set of GUI controls for the react-native-video component",
"license": "MIT",
"main": "VideoPlayer.js",
Expand Down

0 comments on commit 0c686f5

Please sign in to comment.