Skip to content

Commit

Permalink
tmp! Delay loading to test out of focus autoplay
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Dec 15, 2015
1 parent d5f54d6 commit 724ea09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class App extends Component {
loaded: 0
}
load = url => {
this.setState({ url, playing: true })
setTimeout(() => this.setState({ url, playing: true }), 3000)
}
playPause = () => {
this.setState({ playing: !this.state.playing })
Expand Down

0 comments on commit 724ea09

Please sign in to comment.