Simple embedding of your Twitch stream into WordPress, which will only show when you're online.
To add your Twitch stream, use the following code:
[twitch channel="twitchchannelname" height="640" height="480"]
The following shortode parameters are supported:
- channel: Name of the Twich user / channel
- height: Height of the stream (e.g.,
400px
,100%
,2em
) - width: Width of the stream (e.g.,
600px
,100%
,2em
) - https:
yes
orno
. By default, content is served over HTTP via Twitch's HTML5 player. Ifyes
is specified, content is delivered via a legacy Flash player seved via Justin.TV's CDN (https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.rfc07d37fc4eed1d17243b452dd3441665496e1e0.swf?channel={$channel}).
Copyright © 2015 Bert Johnson
Licensed according to GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.html).