Current Stream Shortcode
This is a self-closing shortcode. It outputs the default Twitch stream widget. You can set shortcode attributes to alter its behavior.
color - will allow you to select a visual style to display on the website. Available options are light
and dark
.
layout - is the layout selection of the widget. Available options are video
and video-with-chat
. The default value is video
.
allowfullscreen - will show or hide the full-screen button of the player. Available options are enable
and disable
. The default value is eneble
.
muted - will determine if the stream will be muted at launch or with sound. Available options are enable
and disable
. The default value is disable
.
autoplay - will determine if the streaming video will start playing when the page is loaded or if the viewer must push the play button to watch the stream. Available options are enable
and disable
. The default value is disable
.
height - this number, in pixels, will set the widget's height with chat included if such a layout is selected. The default height is 480
, and the minimum is 400
.
Shortcode example: