title: Interact with embedded Dailymotion (DMCloud) iframe video?
body: <p>When displaying a Dailymotion (DMCloud) video in an iframe on my page, how can I use JavaScript to interact with video - get current playing time, for example?</p>
  
  <p>Dailymotion have a JS SDK for this (<a href="http://developer.dailymotion.com/documentation#sdk-javascript" rel="nofollow">docs</a>), but I can't find how to use the SDK to interact with an existing iframe rather than create a new one. </p>
  
  <p>So, assuming I have something like:</p>
  
  <pre><code>&lt;iframe src="https://api.dmcloud.net/embed/4e5bf73e94a6f629c900461b/4fcbcc1a06361d0dda000267?auth=1571064530-0-6tpgjq7u-30443abdac10acef6cf336eb89412713&amp;amp; id="foo"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Using JS, how can I get the current playing time of the video? </p>