Hello,
I am making a webpage for my twitch channel and i am trying to embed a twitch player with JS everything so i have both video and chat. For some reason it does not put chat there, even if my code is this:
<script type="text/javascript">
var options = {
width: "100%",
height: 700,
channel: "daev_san",
layout: "video-with-chat",
autoplay: true,
parent: ["daevsan.hu", "www.daevsan.hu"]
};
var player = new Twitch.Player("twitch-embed", options);
player.setVolume(0.5);
Does anybody have any idea. Please help me out.
Thanks, Daev!
WLG3R
2
You are using Twitch.Player. I believe that will only ever be the video. Try Twitch.Embed as per the docs.
1 Like
Thank you,
that was my problem 
Would never find out alone.
All the best!
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.