I’ve built a simple webpage to have as an overlay in VR that displays the Twitch chat and the viewer count, time etc. It has worked up until just recently, but now it doesn’t get new messages for the chat anymore with no changes made to my local server or the code. Have there been any changes on Twitch’s end, like moving the embed to HTTPS?
This is the message I get:
emberchat-16dc1db….js:120 Uncaught SecurityError: Blocked a frame with origin “https://www.twitch.tv” from accessing a frame with origin “http://localhost”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
If I convert my page to use SSL I get this error instead, chat still loads, but it fails getting messages.
emberchat-16dc1db….js:120 Uncaught SecurityError: Blocked a frame with origin “https://www.twitch.tv” from accessing a frame with origin “https://localhost”. The frame requesting access set “document.domain” to “twitch.tv”, but the frame being accessed did not. Both must set “document.domain” to the same value to allow access.
//www.twitch.tv/[channel]/chat with an iframe. I’m not using any authentication to sign in or anything like that, I’ve just had the text coming in without replying non-verbally.
Again, I had the chat working just a week or two ago, but now when I started this up again it’s not working. Any information regarding this would be fantastic.