Getting Started with YouTube Integration

Installing YouTube Integration

To install the YouTube Integration plugin, follow the steps below:

  1. Visit the YouTube Integration page and download the free version of the plugin.
  2. The free version has limited customization features. To unlock all the features, consider upgrading to the PRO version.
  3. If you have purchased the premium add-on or upgraded to PRO, you will receive a zip file.
  4. Install the plugin by navigating to Plugins -> Add New -> Upload in your WordPress dashboard.
  5. Choose the downloaded zip file and click "Install Now" to upload and install the plugin.
  6. Activate the YouTube Integration plugin once the installation is complete.

Note: Advanced users can also upload the contents of the zip file directly to wp-content/plugins/ via FTP.

Setting up YouTube Integration

Before you can start using YouTube Integration, you need a valid YouTube API key. Follow the steps below to obtain an API key:

  1. Create your own API key on developers.google.com. It's a quick and simple process.
  2. Refer to our text guide on how to create a YouTube API key.
  3. Watch our instructional video on the StreamWeasels YouTube channel for a visual walkthrough.

Once your API key is set up and connected, you can begin embedding YouTube content into your site.

Using YouTube Integration

YouTube Embed Shortcode

You can insert a single YouTube video anywhere on your site using the [sw-youtube-embed] shortcode. The basic shortcode will utilize the options set in your YouTube Integration settings page.

[sw-youtube-embed id="QQKCuSG2eHQ"]

YouTube Integration Shortcode

To embed multiple YouTube videos or streams, in various layouts, use the [sw-youtube] shortcode. This shortcode allows you to customize the settings for each embed. Here's an example:

[sw-youtube layout="wall" channel="UCo885jUiOeyhtHDFUbdx8rQ"]

Read more about StreamWeasels Shortcodes.

YouTube Embed Block

The StreamWeasels YouTube Embed block allows you to embed a single YouTube video directly into your WordPress content.

Adding the YouTube Embed Block

  1. Open the WordPress editor for the page or post where you want to add the YouTube embed.
  2. Click on the "Add Block" button (+) to open the block library.
  3. Search for "StreamWeasels YouTube Embed" or navigate to the "StreamWeasels" category.
  4. Click on the "StreamWeasels YouTube Embed" block to insert it into your content.

Configuring the YouTube Embed Block

Once you have added the Twitch Embed block to your content, you can customize its settings to display the desired YouTube video.

  1. Select the YouTube Embed block by clicking on it.
  2. In the block settings panel on the right-hand side, you will find various options to configure the YouTube embed.
  • ID: Enter the YouTube video ID you want to embed. This is the unique code found on the end of the URL of the video page on YouTube and looks something like this: QQKCuSG2eHQ
  • Video Type: Choose between Video and Short, this will ensure your video is displayed with the correct dimensions. Video sets the aspect ratio to 16 /9, while Shorts sets the aspect ratio to 9 /16.
  • Width: Set a custom width of the embedded player if you need it. Leave it empty to use the default width.
  • Height: Set a custom height of the embedded player if you need it. Leave it empty to use the default height.

YouTube Integration Block

The StreamWeasels YouTube Integration block allows you to embed multiple YouTube videos or streams in various layouts on your WordPress website.

Adding the YouTube Integration Block

  1. Open the WordPress editor for the page or post where you want to add the YouTube integration.
  2. Click on the "Add Block" button (+) to open the block library.
  3. Search for "StreamWeasels YouTube Integration" or navigate to the "StreamWeasels" category.
  4. Click on the "StreamWeasels YouTube Integration" block to insert it into your content.

Configuring the YouTube Integration Block

Once you have added the YouTube Integration block to your content, you can customize its settings to display the desired YouTube content.

  1. Select the YouTube Integration block by clicking on it.
  2. In the block settings panel on the right-hand side, you will find various options to configure the Twitch integration.
  • Layout: Choose the desired layout for the YouTube content. The available options depend on the StreamWeasels YouTube Integration plugin. By default, the layout is set to "wall".
  • Channel ID: Enter the YouTube channel ID to display all the video content. from that channel. Check out our YouTube channel to ID convertor to help you get the channel ID.
  • Playlist ID: Enter the YouTube playlist ID to display all video content from that playlist. Playlist IDs can be found on the end of the URL for the playlist page on YouTube and looks like this: PL8mG-RkN2uTzdgptyx--f-_AKYcN0fcsk
  • Livestream ID: Enter a single YouTube channel ID or myultiple channel IDs seperated by commas, to display the channels live status on YouTube. Check out our YouTube channel to ID convertor to help you get the channel ID.
  • Number of Streams: Specify the number of streams you would like to display at once.

Read more about StreamWeasels Blocks.

Upgrade to YouTube Integration PRO

Upgrade to the PRO version of StreamWeasels YouTube Integration to unlock a wealth of advanced features and customization options. With the PRO version, you gain access to over 30 available customization options, allowing you to fine-tune every aspect of your embedded YouTube content.

Tailor the layouts, colors, options and more to match your website's design seamlessly. Additionally, the PRO version offers expanded limits on the number of streams you can display at once, enabling you to create dynamic and engaging YouTube integrations. Take your YouTube integration to the next level with the PRO version and enjoy a fully customizable and immersive streaming experience on your WordPress website.

Learn more about YouTube Integration PRO.