code (same for both tests)
<html>
<body>
<script src= "https://player.twitch.tv/js/embed/v1.js"></script>
<div id="test"></div>
<script type="text/javascript">
var options = {
width: 600,
height: 300,
channel: "bikeman",
parent: ["localhost"]
};
var player = new Twitch.Player("test", options);
</script>
</body>
</html>
Worth noting using the JS embed you can omit parent and it’ll do the math for you
localhost
localhost:81
Looks/tested ok here
So if it’s not working for you I’m not sure what the issue is

