title: Getting current time of embedded iframe youtube player?
body: <p>Here i have tried as follows:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;iframe id="player" style="position: relative; height: 220px; width: 400px" src="http://www.youtube.com/embed/7a_CVFRqYv4?rel=0&amp;amp;enablejsapi=1"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p><strong>Script</strong></p>
  
  <pre><code>var player;
  function onYouTubePlayerAPIReady() {player = new YT.Player('player');}
  </code></pre>
  
  <p>Here i want to such action like when the player timing reaches 6 seconds,i want to change the src of the iframe.</p>