How to Embed a YouTube Playlist in WordPress (Best Method)


Are you trying to embed YouTube playlists in your WordPress web site?

Including YouTube playlists to your weblog posts and touchdown pages can enhance consumer engagement and enhance your search engine marketing (search engine marketing). It additionally helps get extra subscribers and develop your channel.

On this article, we’ll present you how one can embed a YouTube playlist in WordPress.

How to embed a YouTube playlist in WordPress

Why Embed YouTube Playlists in WordPress?

If you wish to make your content material extra partaking, then including YouTube movies is a good way to seize your customer’s consideration.

There are loads of advantages to embedding YouTube content material:

  • You possibly can preserve folks engaged and get them to spend extra time in your web site.
  • Video content material helps enhance your WordPress SEO, as a result of the excessive engagement and low bounce rate ship a constructive sign to search engines like google and yahoo.
  • It lets you promote your YouTube channel and get extra subscribers.

There are a couple of alternative ways so as to add YouTube content material to your website. You would embed a single YouTube video, present the most recent movies out of your YouTube channel, and even create a video gallery.

So, why select a playlist?

Embedding a playlist allows you to preserve the movies targeted on a single subject.

A playlist additionally lets you information your guests from one video to the following one so as, serving to them to remain much more engaged in your web site.

That stated, let’s have a look at how one can embed YouTube playlists in your WordPress site.

Embedding YouTube Playlists in WordPress

WordPress by default doesn’t mean you can embed a playlist. The simplest option to embed a YouTube playlist in WordPress is through the use of the YouTube Feed Pro by SmashBalloon plugin.

It’s the best WordPress plugin for YouTube and helps you create customized YouTube feeds in your web site. It allows you to add your YouTube playlists and affords a number of customization options.

YouTube feeds pro by SmashBalloon

The plugin mechanically updates the playlist if you add extra movies to it on YouTube. You possibly can even embed stay YouTube streams in WordPress.

For this tutorial, we’ll be utilizing the premium version of YouTube Feed Professional as a result of it affords extra options. There’s additionally a free version that you should utilize to strive it out.

First, you’ll want to put in and activate the YouTube Feed Professional by SmashBalloon plugin. Please see our information on how to install a WordPress plugin for extra particulars.

Upon activation, you possibly can head over to Feeds for YouTube out of your WordPress dashboard after which go to the ‘License’ tab.

Merely enter your license key after which click on the ‘Activate License’ button. You’ll find the important thing in your account.

Enter license key

Subsequent, you’ll have to go to the ‘Configure’ tab and join your YouTube account.

To do this, go forward and click on the ‘Connect with YouTube to Create a Feed’ button.

Connect to YouTube to create a feed

A popup will now seem informing you that the plugin would require read-only entry to your YouTube account to retrieve the API key.

Merely click on the ‘Proceed’ button to maneuver on to the following step.

Click the continue button

Subsequent, you’ll want to pick out your Google account.

Select Google account

On the following display screen, the plugin would require entry to your Google account.

Merely click on the ‘Proceed’ button.

Allow access to your account

You’ll now be redirected again to your WordPress web site, and a popup will seem displaying that you just’ve efficiently related your account.

Go forward and click on the ‘Dismiss’ button to proceed.

Successfully connected your account

Subsequent to the ‘YouTube Accounts’ part, you possibly can see that you just’ve efficiently related your Google account.

See successfully connected notification

Now, you’ll have to create an API key in order that the plugin mechanically fetches your playlists and shows them in WordPress.

Let’s see how one can get an API Key.

Making a YouTube API Key

You’ll first want to go to the Google Cloud Platform web site after which login to your Google account.

After that, click on on the ‘My First Venture’ possibility on the high.

Click my first project

Now, you’ll see a popup window seem the place you possibly can choose your tasks.

Merely click on the ‘New Venture’ button to get began. It’s also possible to choose an present mission if you’d like.

Create a new project

After that, you’ll have to enter a reputation in your mission below the ‘Venture Identify’ subject. We’ve known as ours ‘YouTube Playlist’.

Then click on the ‘Create’ button.

Enter name for a project

As soon as your mission is created, you possibly can click on the menu possibility within the high left nook (3 horizontal strains) subsequent to Google Cloud Platform and go to ‘API & Providers’ from the menu.

Then click on the ‘+ Allow APIs and Providers’ possibility on the high.

Enable APIs and services

This may open the API library web page. Go forward and enter YouTube within the search field to seek out the YouTube API.

Subsequent, you’ll want to pick out the ‘YouTube Knowledge API v3’ possibility.

Select YouTube data API v3

After that, merely click on the ‘Allow’ button to activate the YouTube API key.

Enable YouTube API

Now, you’ll have to go to the Credentials menu within the left menu, after which click on the ‘+ Create Credentials’ on the high.

From the choices that seem within the dropdown, go forward and choose ‘API key.’

Create API key

A popup window will now seem with the YouTube API key.

Merely copy the API key or retailer it on a notepad file.

Copy the API key

Subsequent, you possibly can head again to your WordPress web site after which navigate again to Feeds for YouTube out of your dashboard.

Now, go to the ‘Configure’ tab and enter your API key.

Enter API key

If you enter the API key, you’ll discover extra choices will probably be unlocked in Feeds for YouTube, together with the ‘Choose a Feed Sort’ choices.

Now you can select ‘Playlist’ because the feed type and enter the YouTube playlist ID. There’s additionally an possibility to vary the frequency that your website will examine for brand spanking new posts in your YouTube playlist.

Unlock feed type options

You’ll find the playlist ID by visiting your YouTube channel after which going to the playlist you’d wish to show in your web site.

The string of letters and numbers after the ‘=’ image within the URL is your playlist ID. Merely copy the ID and enter it within the Feeds for YouTube plugin.

Find YouTube playlist ID

Now that you just’ve created an API key and added the YouTube playlist ID, let’s see how one can customise the feed and embed it in your web site.

Customise and Embed Your YouTube Playlist

To customise your YouTube playlist feed, merely head over to the ‘Customise’ tab within the Feeds for YouTube plugin.

Right here you possibly can edit the width, peak, and background color of your YouTube feed.

Edit width and height of feed

Subsequent, you possibly can scroll down and alter the structure of the feed. The plugin affords a number of structure choices, together with a grid, gallery, listing, or carousel kind.

Moreover that, there are additionally choices for choosing the variety of columns (for cellular and desktop), the variety of movies, and spacing between the movies.

Change the layout

The plugin additionally affords extra optionally available choices to customise your YouTube feed. As an illustration, you possibly can select what data to show, just like the play icon, title, views, date, and extra.

There are additionally choices for getting into translations for information textual content, edit header choices, altering the Load Extra and Subscribe button settings, including moderation, and different superior settings.

Video experience settings

Don’t neglect to click on the ‘Save Modifications’ button if you’re achieved.

Subsequent, now you can show your YouTube playlist on any WordPress page or post.

To begin, merely create a brand new web page or edit an present one. When you’re within the WordPress content material editor, merely click on the ‘+’ button and add the ‘Feeds for YouTube’ block.

Add Feed for YouTube block

Your YouTube playlist will now seem in your web page.

Go forward and publish your article to see the YouTube playlist feed in motion.

YouTube Playlist preview

We hope this text helped you discover ways to embed a YouTube playlist in WordPress. You might also wish to take a look at our information on how to start an online store and the best live chat software.

When you appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. It’s also possible to discover us on Twitter and Facebook.

The publish How to Embed a YouTube Playlist in WordPress (Best Method) first appeared on WPBeginner.





Source link