YourChannel Setup

  • Go to console.developers.google.com
  • Click on Library from the left sidebar.
  • Click on YouTube Data API in the YouTube APIs section.
  • Click on Enable in the YouTube Data API page.
  • Now go to Credentials page from the left sidebar menu.
  • From the dropdown Create credentials that appearns in a small modal, select API Key.
  • Then in the next modal, select Browser Key.
  • Give the key a name.
  • Enter *.yoursitename.com/* in the HTTP Refferers field.
  • Click Create.
  • A popup will appear with the API key.
  • Copy the API Key and head to your WordPress dashboard -> Settings -> YourChannel.
  • Enter API Key.
  • Enter your YouTube username. YourChannel will create a preview.

shortcode

  • Save.
  • Note the shortcode generated, and copy in your post.