YouTube generator

☝️ Note: This generator is only available in the Pro version.

In this article

Tutorial

☝️ Note: Google changes its design and API creation process every couple of month, so it might won't be exactly the same, as in this documentation, but the process will be very similar.
1

Go to this page: https://console.developers.google.com/start

2

Click on Create an empty project

3

Give a Name to your project, select a Location and click on Create.

4

When it is created, you will be redirected to its page, but if you wouldn't, just select your API from top.

5

Press ENABLE APIS AND SERVICES.

You might will already be on the API page, but if you wouldn't, press Go to APIs overview.

6

Look for the YouTube Data API then select it.

Click on Enable API

7

Go back to your API, click on Credentials and select Create credentials. Select OAuth 2.0 client ID

8

Click on Configure consent screen.

9

Select a user type

10

Enter the Application name, set the Authorized Domains (you'll need to hit enter here!). Then Click Save. You'll be taken back to the Create OAuth client ID screen.

11

Go back to the Credentials and select again Create credentials. Select OAuth 2.0 client ID

12

Choose Web application

13

Write your website's address under the Authorized JavaScript origins, and paste the Callback url (see next step) under the Authorized redirect URIs, and click on Create

14

Go to the Smart Slider's back-end, Global Settings → Generators → YouTube, and copy the Callback url into the previous step'sAuthorized redirect URIs.

15

Copy the client ID and secret

16

Go to the Smart Slider's back-end, Global Settings → Generators → YouTube, paste them there, and click on Request token. (Make sure that you don't have any empty space characters in the end or beginning of them.)

⚠️ Warning: Some browsers block popups. If nothing happens when you click on the Request token button, make sure that the popups are enabled in your browser.

17

Allow your API to get access to your YouTube account.

18

You will receive a Token, and you should save the settings.

19
Now the api is done, create a new dynamic slide

To get started, go to any Slider Settings page and add a new dynamic slide. Choose YouTube.

20
Configuring the generator

Set up your generator. Choose the settings you want. Popular options you probably want to configure: category where your content will be pulled from, the number of slides you want to have, the ordering of the content.

You can also click on the View Records button to see the data you'll be creating your slide with.

When you're done, click on Add.

21
Editing the dynamic slide

After you saved your generator, you'll be redirected to the Slide Editor to set up the look of your slide. You can create your content by using variables.

Not sure what are the variables or how to use them? Learn how to work with variables.

Configuration

You can use these options to set what you want your generator to show.

Filter

By search

Search term

The word you would like to search for in the videos.

By playlist

Playlist

Choose one from your playlists from where you want to show the videos.

Generator Settings

Learn about the Generator Settings at the Generator Settings documentation.

Variables

These are the available variables you can use to build your dynamic slide content in the Slide Editor.

Not sure what are the variables or how to use them? Learn how to work with variables.

By search, By playlist
  • video_id - The id of the video.
  • video_url - The url of the video.
  • title - The title of the video.
  • description - The description of the video.
  • thumbnail - The default size thumbnail image of the video.
  • thumbnail_medium - The medium size thumbnail image of the video.
  • thumbnail_high - The high size thumbnail image of the video.
  • channel_title - The title of the the video's channel.
  • channel_url - The url of the the video's channel.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.