title: How to control <iframe> based YouTube player?
body: <p>YouTube allows to use <code>&lt;iframe&gt;</code> to embed videos on sites in addition to flash based way of embedding. That has advantages especially for mobile devices.
  <a href="http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html" rel="nofollow">http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html</a></p>
  
  <p>Unfortunatly i could not find any API documentation similar to flash based way like <a href="http://code.google.com/apis/youtube/js_api_reference.html" rel="nofollow">http://code.google.com/apis/youtube/js_api_reference.html</a></p>
  
  <p>Is it possible to control programmatically the <code>&lt;iframe&gt;</code> based player using pure JavaScript, for example playing or pausing the video?</p>