When using the API to embed a live stream - if the channel is not already live we get a 404 error on an XHR GET request. And consequently event listeners for Twitch.Embed.VIDEO_PLAY don’t work.
However, if the channel is already live on page load we don’t get the error and the event listener works.
It’s worth noting that the site is password protected. Could this have an impact.