I was looking to control the muted option on the player. The command didn’t seem to do anything. I looked in the code and found a possible problem. The player.setMuted(true)
value wasn’t being passed to the command. Changing the following (deminified) fixed muted for me. Is this a bug?
e.prototype.setMuted = function() {
this._sendCommand(i.PLAYER_API.SET_MUTED)
}
to
e.prototype.setMuted = function(e) {
this._sendCommand(i.PLAYER_API.SET_MUTED, [e])
}
Also to note muted doesn’t seem to work on the Twitch.Embed
interface which may be related.