title: How to get the duration of a video in iframe?
body: <p>I would like to know how can I get the duration (in seconds) of the youtube video that is in iframe. I really dont know if I should use PHP or JS, so I will welcome any advice. Heres is my iframe: </p>
  
  <pre><code>&lt;iframe width='420' height='315' id='video_player' src='https://www.youtube.com/embed/0rVwuowU6Fs' frameborder='1' allowfullscreen&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Thank you for any answer.</p>