2015-10-03, 12:10 AM
So i implemented twitch's api i have the video and the chat
Video Code:
how would i make it so both the video and the chat change change streams together every 30 min? i want it to change streams to people with 15 viewers or less so they can get a boost in viewers also adding a drop down like this would be nice
Video Code:
<object bgcolor="#000000"
data="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf"
height="378"
type="application/x-shockwave-flash"
width="620"
>
<param name="allowFullScreen"
value="true" />
<param name="allowNetworking"
value="all" />
<param name="allowScriptAccess"
value="always" />
<param name="movie"
value="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" />
<param name="flashvars"
value="channel=Stream&auto_play={AUTO_PLAY}&start_volume={VOLUME}" />
</object>
Chat Code:<iframe frameborder="0"
scrolling="no"
id="chat_embed"
src="http://www.twitch.tv/Stream/chat"
height="378"
width="620">
</iframe>
I put the code by going to my templates>theme>index Page Templates>index how would i make it so both the video and the chat change change streams together every 30 min? i want it to change streams to people with 15 viewers or less so they can get a boost in viewers also adding a drop down like this would be nice