title: YouTube currentTime with jQuery
body: <p>How can I get the currentTime of a YouTube video?</p>
  
  <p>I have been searching in the YouTube api and I just do not understand:
  <a href="https://developers.google.com/youtube/js_api_reference?csw=1" rel="nofollow noreferrer">https://developers.google.com/youtube/js_api_reference?csw=1</a> </p>
  
  <p>I have been searching in Stack and try to apply what they say but it does not work. Problably I am missing something that I do not understand:<br>
  <a href="https://stackoverflow.com/questions/9524637/youtube-api-returning-current-time">Youtube API returning current time</a><br>
  <a href="https://stackoverflow.com/questions/6970013/getting-current-youtube-video-time">Getting Current YouTube Video Time</a></p>
  
  <p>I would appreciate any guidence to know where to begin</p>
  
  <p>You can check yourself: <a href="http://jsfiddle.net/twL9z8e1/" rel="nofollow noreferrer">http://jsfiddle.net/twL9z8e1/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#bookmarkBoto").click(function() {
    
      //var time = $("#yt").currentTime();//no
   //var time = $("#yt").getCurrentTime();//no  
      $('#check').text(time);
     
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;iframe id="yt" name="yt" width="720" height="405" src="https://www.youtube.com/embed/M7lc1UVf-VE" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
  
  &lt;br&gt;&lt;br&gt;
  
  &lt;div id="bookmarkBoto"&gt;bookmarkBoto&lt;/div&gt;
  &lt;div id="check"&gt;check&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>