Twitch Player JS API: Broken initCallback?

The initCallback for the Twitch player embed, which is described in the documentation here ( doesn’t work anymore. It also seems to make the player not work at all.

A jsfiddle showing off the problem. Remove the initCallback flash var and it’ll work.

I snooped Twitch’s source and found the new callback call.

Flash var:


Example function:

function playerCallback(data) {
    data.forEach(function(event) {
        // event.event is the event's name
        // holds (from what I've seen) video data for the event

Ah, thanks a lot, that will be helpful.

Any chance you can tell where you found this, for the next time it happens?