https://github.com/bertjohnson/wp-twitch
Simple embedding of your Twitch stream into WordPress, which will only show when you're online.
https://github.com/bertjohnson/wp-twitch
Last synced: 12 months ago
JSON representation
Simple embedding of your Twitch stream into WordPress, which will only show when you're online.
- Host: GitHub
- URL: https://github.com/bertjohnson/wp-twitch
- Owner: bertjohnson
- Archived: true
- Created: 2015-10-25T17:23:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-31T22:21:55.000Z (over 10 years ago)
- Last Synced: 2025-05-15T20:11:40.085Z (about 1 year ago)
- Language: PHP
- Homepage: https://bertjohnson.com
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WP Twitch
=========
Simple embedding of your Twitch stream into WordPress, which will only show when you're online.
Sample Screenshot
=================

Configuration
=============
To add your Twitch stream, use the following code:
[twitch channel="twitchchannelname" height="640" height="480"]
The following shortode parameters are supported:
1. **channel**: Name of the Twich user / channel
2. **height**: Height of the stream (e.g., `400px`, `100%`, `2em`)
2. **width**: Width of the stream (e.g., `600px`, `100%`, `2em`)
3. **https**: `yes` or `no`. By default, content is served over HTTP via Twitch's HTML5 player. If `yes` 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}).
License
=======
Copyright © 2015 [Bert Johnson](https://bertjohnson.com)
Licensed according to GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.html).