HTML5 Video Player + Chat Frame

How do people deal with these multiple errors created by the twitch player and chat iframes?

Uncaught SecurityError: Blocked a frame with origin “http://www.twitch.tv” from accessing a frame with origin “http://www.mydomain.tv”. 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.

I deal with these errors by ignoring their existence. I also get security errors when embedding YouTube videos, so imagine it’s common to see these types of issues with iframes.