Interactive player doesn't work just with video Id

I’ve starting a new player.

gPlayer = new Twitch.Player("youtubeplayer", options);

In the options, I set up the video Id in the ‘video’ property. When I run the code, I get an error:

t.channel is not implemented

However, according to the guide, I don’t need a channel in order for the interactive video clip to be displayed. The code works when I add a channel, but when I omit it it doesn’t.

Code:

 var options = {
   width: 560,
   height: 315,
  autoplay: true,
  control: true,
 video: "EnergeticCallousEmuBuddhaBar"
 };
  gPlayer = new Twitch.Player("player", options);

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