Bind() to a dynamically embedded souncloud widget
问题 I am using the following code to embed a soundcloud widget: SC.oEmbed(soundcloud_url, {color: "3C9FCE"}, document.getElementById('container_id')); How do I bind a SC.Widget.Events.Ready to it? I don't see any way to set the id or class of the embed iframe so that I can select it. Nor do I know when it has been loaded so that I can bind it, such as the following dysfunctional code: var frame = document.getElementById('container_id').getElementsByTag("iframe")[0]; frame.bind(SC.Widget.Events