• ResolvedPlugin Author Aleksandar Uro?evi?

    (@urkekg)


    Dear users of YouTube Channel plugin,

    Today (May 6th) YouTube killed YouTube API v2 and all users of YouTube Channel received “DeviceSupport” video instead latest/random/whatever video from real channels/playlists/etc.

    I’m sorry to inform you that in next couple days I will not be able to finish and release new YouTube Channel v3.0 ported to YouTube API v3 (Work in Progress).

    If you can’t wait until then, you can try with version 3.0alpha2.

    IMPORTANT
    You’ll need to create YouTube Data API Key v3 and insert it to wp-config.php (I will not make available settings field to store this key in database). Learn more here https://developers.google.com/youtube/registering_an_application or simply watch this tutorial https://www.youtube.com/watch?v=8NlXV77QO8U

    Following YouTube tutorial, it’s best to you create Server Key and add IP of your server to allowed servers. If you don’t care, you can leave key unprotected and allowed for all IP’s (just make sure you don’t share that key with others, and that is why I wish to leave it in wp-config.php instead in database).

    Next, when you create API Key, copy it and edit wp-config.php file for your WordPress installation through FTP. Find line:

    /* That's all, stop editing! Happy blogging. */

    and insert above it:

    define('GOOGLE_API_KEY', 'YOUR_SERVER_API_KEY');

    just replace keyword YOUR_SERVER_API_KEY with your real API Key previously generated (surround API key to single quotes).

    Then update Widget settings and update Channel ID field (this is not legacy username but ID starting with UC – you can get it from page https://www.youtube.com/account_advanced.

    Thank you for patience.

    https://www.ads-software.com/plugins/youtube-channel/

Viewing 8 replies - 16 through 23 (of 23 total)
  • is “YouTube Data API Key v3” is same as “browser API key” Or what?

    I have added this to wp-confid.php
    define(‘browser api key’, ‘server api key’);

    I have entered; [youtube_channel] short code into a page,
    Also entered Channel ID starts with UC…
    I get this:
    “YouTube Channel 3+ requires your Google API Key to work. Learn more here.”

    Cd you pls help me on this…what am I doing wrong?

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    @schrottie Good to hear that. So, it was some caching issue, or similar. I’m glad it works for you!

    Btw, you can achieve layout you provided with good CSS targeting. For example, you set all YTC blocks to be max-width:33%, then :first-child you set to max-width:100%

    That should work, just tweak CSS.

    @hubbez please read 1st post from this thread. This is wrong:

    define('browser api key', 'server api key');

    Correct is

    define('GOOGLE_API_KEY', 'YOUR_SERVER_API_KEY');
    where YOUR_SERVER_API_KEY is placeholder for key you created, and GOOGLE_API_KEY is constant, so leave it as is.

    YouTube Data API Key can be for Server or for Browser. Both of them if restriction is disabled or properly set will work good.

    Cheers

    Hi,

    I do all steps but I got error :

    Ups, something went wrong.

    Thanks it’s solved,

    The problem is that I add wrong Referrers in my Key generator.

    Hi,

    It Fetch only 4 videos. As soon as I choose 25

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Dear users,

    Version 3.0.0 is released. The only difference regarding YouTube Data API Key is that constant is renamed from GOOGLE_API_KEY to YOUTUBE_DATA_API_KEY.

    Please before update make database backup.

    Thank you,
    Aleksandar

    @urkekg: Thanks, “max-width” works as well! Also 3.0.0 with renamed constant.

    Many thanks for your great work! ??

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    @schrottie I’m glad to hear that. Thank you!

    Btw, I added to FAQ section (at the bottom) HOWTO for your question. Check it out https://www.ads-software.com/plugins/youtube-channel/faq/

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘DeviceSupport "bug" in v2.x (pre-3.0 announcement)’ is closed to new replies.