title: react-youtube get live playtime and set playtime
body: <p>Currently I'm using the <a href="https://www.npmjs.com/package/react-youtube" rel="nofollow noreferrer">react-youtube</a> in my react/redux application and its working great with the youtube API.</p>
  
  <p>I have noticed you can get the current time with this function: <code>.getCurrentTime()</code> which is located in the javascript object you get from the player. But this function doesn't give me a live value of the playtime. It only updates on refreshes of a component in my application.</p>
  
  <p>I'm using it like this in my component parameters:</p>
  
  <pre><code>playtime={this.props.player.youtubePlayer.getCurrentTime()}
  </code></pre>
  
  <p>Is it possible to get the current playtime live in my react application without using a <code>setTimeout</code> loop?</p>
  
  <p>I was also wondering if its possible to set the current playtime of a youtube video with this API? There is no available function in the youtube object like <code>setVolume</code>.</p>