How can I get events from video/broadcast object?
<p>I'm a newbie to OIPF/JavaScript. And this question is OIPF specific.</p>

<p>I have a video/broadcast object.</p>

<p>On my <code>ready</code> I did this.</p>

<pre><code>var theControl;

function onPlayStateChange_(state, error) {
    console.log("onPlayStateChange(" + state + ", " + error + ")");
}

jQuery(document).ready(function () {
    theControl = document.getElementById("theControl");
    theControl.onPlayStateChange = onPlayStateChange_;
}
</code></pre>

<p>When I do <code>setChannel(..)</code> or <code>stop()</code>, I got no events.</p>

<p>What did I do wrong?</p>