Iframe/Player general doco questions

Hello Twitch,

Sorry if this is an obvious question but I cant seem to find any doco on the subject (plenty on the api tho).

I wish to customize the twitch player I have embeded. Diving into the code for the following link.
[player.twitch.tv/?channel=spinninrecords][1]

I see the following.

new Twitch.video.Player(“video-playback”, params);

Where player is defined in http://player.twitch.tv/js/player.5127067c.js.

This is minified gobbleygook. :frowning:

Question one is. Can I get an unminified version?
Question two is. Is there any doco on this in particular the params it takes in?
Question there is. Is there cors restrictions(or any) that would stop me taking the code out of the iframe and placing in directly into my page?
Question four is. If three is yes does the page([player.twitch.tv/?channel=x][1]) take options that I can pass to the player ie hide pause play / settings or custom theming or eventbinding(ie error occured) when called as an iframe?

Again sorry if this is a silly question. Hope someone can point me in the direction of doco on the matter :smile:
[1]: http://player.twitch.tv/?channel=spinninrecords

  1. No
  2. https://github.com/justintv/Twitch-API/blob/master/embed-video.md More parameters will be added in the future.
  3. Yes, and we’d really prefer you not do this
  4. No, the player is not themeable. Events will be added in the future.

Groovy thanks for the response :).

Any ballpark eta on events? weeks months years ? :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.