Twitch TV Easy Embed (Player)

Description

Need a plugin which lets you embed Twitch.tv streams in an easy and manageable way? Twitch TV Easy Embed Player allows you to embed a group of streams and customise the appearance.

  • Show twitch streamers all playing a specific game.
  • Show twitch streamers based on usernames.
  • Show twitch streamers based on a twitch team.
  • Show twitch streamers even if they’re offline.
  • Show streams of only a certain language.
  • Customise the appearance by changing the colour scheme between light and dark.
  • Custom manager screen and shortcode support.

The plugin works fluidly across all screen widths and devices, just add the code to your theme or use the shortcode and you’re ready to go!

Screenshots

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Easy Embed for Twitch TV (Player) screen to configure the plugin
  4. To customize the feed from Twitch TV, fill either the ‘Game’ field or the ‘Channel’ field or the ‘Team’ field. Only fill one of these fields, or the feed will not work.
  5. To add the widget to your site, you can use the shortcode [getTwitchPlayer] within any page or post. Advanced WordPress users could also add the function call directly to their theme to use the widget outside of a page or post (more on this below)

Shortcode Usage

To output the Twitch Player configured on the settings page, simply use the following shortcode anywhere in a post or page within WordPress:

[getTwitchPlayer]

Advanced Usage

For those of you who know your way around a WordPress theme, it’s possible to embed the Twitch TV Player widget directly within your theme using the wordpress function do_shortcode. This will allow you to put the widget anywhere in your theme, even outside of a post or a page.

To do so, use the following PHP code anywhere in your theme.

<?php echo do_shortcode('[getTwitchPlayer]') ?>

Contributors & Developers

“Twitch TV Easy Embed (Player)” is open source software. The following people have contributed to this plugin.

Change log

1.0.2

  • Fixed an issue with foreign characters in display names breaking stream URLs (chinese, korean ETC).
  • Fixed an issue with ‘ characters in the GAME name. Games such as PlayerUnknown’s Battlegrounds will now work correctly.
  • Fixed an issue where TEAM would fail due to players with foreign characters.
  • Detached the JS into a seperate file.
  • Further Optimizations.

1.0.1

  • Initial release.