Skip to main content

[WP] How to get YouTube API key?

Since version 3.2.6, RoyalSlider uses the YouTube API v3.0 (an older version is deprecated) to retrieve cover image, title and description of videos.

To generate API code:

  1. Go to Google Developers Console and log in with your Google account.
  2. Create the new project (name does not matter for the plugin).
  3. Go to your project (by clicking on its name in the list).
  4. In the sidebar on the left, expand APIs & auth. Next, click APIs. In the list of APIs go to YouTube Data API (v3) and make sure that it's enabled (Enable API).

API_Library_-_RoyalSlider_WP_plugin_2015-05-07_21-55-30.jpg

  1. In the same sidebar click Credentials. Then click on Create New Key and choose Browser key.

Credentials_-_RoyalSlider_WP_plugin_2015-05-07_21-51-47.jpg

  1. Copy API key and paste it to RoyalSlider Settings page, or in the modal window that asks for it.

More information on Google Developers portal.