1. Home
  2. Docs
  3. Video Gallery for YouTube
  4. Now let’s begin.

Now let’s begin.

How is the plugin installed?

The “Video Gallery for YouTube” plugin can be installed and enabled on your WordPress website in three different ways.

Step 1: Install and Upload

  • Download the latest version of the plugin “video-gallery-for-youtube.zip”.
  • Go to your WordPress website and log in.
  • Using the Plugins menu in the left site menu, select the Add New Plugin button.
  • Next, choose your zip file and click the Upload Plugin button to upload it.
  • After the plugin is uploaded, click the Install button to launch it.
Video Gallery For YouTube- Upload By Install
Video Gallery For YouTube- Upload By Install

Step 2: Search and install

  • Go to your WordPress website and log in.
  • From the left site menu, select the Plugins menu, then click the Add New Plugin button.
  • Now type “Video Gallery for YouTube” in the search bar to find the right website.
  • Click Install Now to install our plugin, as shown below.
  • After that, press the “Activate” button.
Video Gallery For YouTube- Install By Search
Video Gallery For YouTube- Install By Search

Step 3: Use FTP to install

  • Get the latest version of the plugin (“video-gallery-for-youtube.zip“).
  • After extracting the plugin zip file, locate the “video-gallery-for-youtube” folder and all the required files inside.
  • Upload the non-zipped plugin folder to your server’s /wp-content/plugins/ folder using your FTP software, such as FileZilla or cPanel.
  • From the list of plugins, go to Dashboard » Plugins » Installed Plugins and select “Video Gallery for YouTube“.
  • To activate the plugin, click the Activate button.

Add block

Add the block after searching for “Video Gallery for YouTube” in your Gutenberg editor. Add the unique block, in the same manner as it is added. Press the + button to display the search bar below. Then you can search by plugin’s name.

How to add blocks differently

Video Gallery For YouTube- Add Block
Video Gallery For YouTube- Add Block

Credentials

Authentications

Run Google Cloud Console: First, navigate to Google Cloud Console and sign in.

Create Project: Create one if there is no previous project; If there is an existing project, click it.

Now, we will create a new project. After signing in to the Google Cloud Console, we will see a button called Create Projects in the top bar; Click on it.

Video Gallery For YouTube- Create Project
Video Gallery For YouTube- Create Project button

Give the project a Name and click the Create button.

Video Gallery For YouTube- Create Project
Video Gallery For YouTube- Create Project

When the project is created, a notification will appear on the right side of the window; From there, select the project you created. I finished the project.

Video Gallery for- YouTube Select Project
Video Gallery for- YouTube Select Project

How do I copy an API key?

  • Press the three dots on the top bar and first select “APIs & Services”.
Video gallery for- YouTube Three Dot
Video gallery for- YouTube Three Dot
  • Click on “+Create Credentials” after selecting the Credentials .
  • Select API Key using the drop-down menu.
Video Gallery For YouTube- Create API
Video Gallery For YouTube- Create API

After copying API KEY to clipboard click on Close button.

Video Gallery For YouTube- Copy API Key
Video Gallery For YouTube- Copy API Key

API for YouTube

We have finished generating our API key. We are now going to enable an API service. Now let’s begin.

From the left site, select Enable APIs and Services.

Video Gallery For YouTube- Enable APIs & Services
Video Gallery For YouTube- Enable APIs & Services

Click + followed by Enable APIS and Services

Video Gallery For YouTube- + Enable APIs & Services
Video Gallery For YouTube- + Enable APIs & Services

See YouTube API V3. Select the YouTube Data API v3 library by typing in the search bar below.

Video Gallery For YouTube- Search And Select API
Video Gallery For YouTube- Search And Select

Finally, click the Enable button.

Video Gallery For YouTube- Enable API
Video Gallery For YouTube- Enable API

Generate Channel ID

Sign in to your YouTube account.

Click the profile picture in the top bar, then click Settings.

Video Player For YouTube-Settings
Video Player For YouTube-Settings

Click on Advanced Settings from the drop-down menu on the left side.

Video Player For YouTube -Advanced-Settings
Video Player For YouTube -Advanced-Settings

Now copy the channel id from here.

Video Player For YouTube- Copy Channel ID
Video Player For YouTube- Copy Channel ID

Playlist ID

The playlist prefix is ​​where we want to show the playlist video.

I have selected a playlist. I will copy the following list= id from the playlist URL.

The URL will look like this, for example: https://www.youtube.com/watch?v=PcYaAw7gX7w&list=PLhpg_3n0OYC7B5oPL4qL_hqLy5LlJ79bV

Video Player For YouTube- Playlist-Id
Video Player For YouTube- Playlist-Id

Copy the playlist ID from here.

Now, navigate to the block and paste the Resource ID field.

Configuration

Now, we will see how block settings work.

First, you add the plugin to your page. After installing the plugin, you will see options on the appropriate site. The plugin has two tab panels, General and Style.

General

Video Gallery For YouTube- Configure
Video Gallery For YouTube- Configure

Configure

  • Click the Configure API Key button, then the API KEY input option will appear; Enter your API KEY there.
Video Gallery for YouTube- API Key insert
Video Gallery for YouTube- API Key insert
  • Resources to use: Channel and Playlist IDs are two types
  • By Order: There are three options to filter the order of videos: Date, Title and Rating
  • Resource ID: Depending on the resource being used, the resource ID should be entered here.
  • Total Videos: You must specify the total number of videos you want to show.

Layout

  • Layout: We have three layouts: default, grid details and playlist.
  • Columns: Configure columns per device. There are three devices. Mobile, Tablet and Desktop.
  • Column Spacing: Configure column spacing.
  • Set row spacing.
Video Gallery For YouTube- Layout
Video Gallery For YouTube- Layout

Video Player

  • Height: Adjust to the designated height.
  • User Control: Enable/disable user control.
  • Channel Videos Only: You can only display videos from your channel after the current video ends.
  • Video Logo: Whether to display or not.
  • Show/hide full screen icon.
Video Gallery For YouTube- Video Player
Video Gallery For YouTube- Video Player

Elements

  • Title: Show/Hide Title.
  • Show/hide view.
  • Show/hide LIKE.
  • Comments: Press to show or hide them
  • Date: Show or hide the date.
Video Gallery For YouTube- Elements
Video Gallery For YouTube- Elements

Title

  • You have the ability to change the length of the title text and decide whether it should open in a new page
Video Gallery For YouTube- Title
Video Gallery For YouTube- Title

Style

Set the border radius of the thumbnail image of the video.

Video Gallery For YouTube- Image Style
Video Gallery For YouTube- Image Style

Title: Choose the font and color of the title.

Video Gallery For YouTube- Title Style
Video Gallery For YouTube- Title Style

Set color and font size for video information.

Video Gallery For YouTube- Videos Info Style
Video Gallery For YouTube- Videos Info Style

How can we help?