title: How is SoundCloud embedding an HTML5/JS widget on Facebook?
body: <p>Here's the scenario I'm seeing - </p>
  
  <ul>
  <li>You click to post a sound from SoundCloud to Facebook</li>
  <li>It embeds a player in the post that can either be clicked on to take you to the original item on SoundCloud OR you can click a Play icon to play the sound right in your feed.</li>
  <li>The player is a Javascript/HTML5 player (which you can see by viewing source) HOWEVER if you take the embedded URL and put it in the Facebook open graph debugger you'll see that it appears to be directing to embed a Flash SWF</li>
  </ul>
  
  <p>How is SoundCloud doing, what appears to be, some kind of redirect trick to get a "og:video" SWF to turn into a JS/HTML5 player?</p>
  
  <p>I notice that there is an "og:type" of "soundcloud:sound" so is it some kind of whitelist/Facebook application scenario?</p>
  
  <p>Try it yourself with this:</p>
  
  <ul>
  <li><strong>OG debug:</strong> <a href="https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fsoundcloud.com%2Fsystek_music%2Fcyberoptics-sub-antix-the%3Futm_source%3Dsoundcloud%26utm_campaign%3Dshare%26utm_medium%3Dfacebook" rel="noreferrer">https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fsoundcloud.com%2Fsystek_music%2Fcyberoptics-sub-antix-the%3Futm_source%3Dsoundcloud%26utm_campaign%3Dshare%26utm_medium%3Dfacebook</a></li>
  </ul>
  
  <p>I did find this bit of info from the SoundCloud site about how they've switched to JS players (that fall back to Flash on older browsers): <a href="http://help.soundcloud.com/customer/portal/articles/1219149-where-has-the-flash-widget-gone-" rel="noreferrer">http://help.soundcloud.com/customer/portal/articles/1219149-where-has-the-flash-widget-gone-</a></p>