Using interactive embedded player without HTTP server

I find it odd that the Twitch.Embed approach works fine compared to the Twitch.Player in this context.
Is there any reason that the postMessages are blocked due to CORS restrictions for the “standalone” Player but work fine for the Twitch.Embed object by accessing Twitch.Embed.player?