From 724ea09ab336b4e407254d95e9e098179589a803 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Tue, 15 Dec 2015 12:05:57 +0000 Subject: [PATCH] tmp! Delay loading to test out of focus autoplay --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 53492411..148ef6af 100644 --- a/src/App.js +++ b/src/App.js @@ -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 })