When I open a page with the following:
var options = {
width: 400,
height: 300,
video: "153020189",
};
var player = new Twitch.Player("twitch-testing", options);
The black frame appears, but it doesn’t load and I get this error repeated over and over every second:
player-core-min.js:1 Uncaught TypeError: Cannot read property 'buffered' of null
at f._buffered (player-core-min.js:1)
at f.getPlaybackStatistics (player-core-min.js:1)
at e.value (player.029975d….js:32)
at o.c.getStats (player.029975d….js:41)
at Ae (player.029975d….js:31)
I won’t even yet go into all the errors it gives me if I try to setVideo() haha
How can I fix this?