Update to Youtube Data API v3?
-
According to https://youtube-eng.blogspot.it/2015/04/bye-bye-youtube-data-api-v2.html, Google is going to shut down API v2.
I think this plugin code relies on Youtube API v2 and today’s issues should be related.
If I am right: any plans to update the plugin to API v3 or suggested workaround before total v2 expiration?
-
@quacos – thank you for the effort, but it’s not working for me. I copied and pasted the entire php code from the file I downloaded from your DropBox.
Something did change – instead of getting nothing to show up, a black box for the main video does show up, but the first thumbnail is the YouTube sad face not supported icon and no other thumbnails show up. I have 6 video thumbnails set to show. When I change the 6 to “7” in the widget, I just get a ton of error code. Ideas?
Thank you for trying to help out. If I had the php skill, I’d be helping out.
@quacos – I copied your whole file into mine and it works perfectly. Thank you so much!
Now the pages with the video gallery do not show anything at all.
I previously used this fix on May 1, 2015 when Google dumped on everyone by dropping the API 2 support:
That was working–but now nothing appears on the pages.
Any word from our friend the developer?
Chris
Only thing works here, is using an playlist.
Did you guys tried Channelname already? Thats the only thing that doesnt work for me. If i use playlist, i have no problem with the orignal plugin(with no alteration).
@chris: I tweeted Javier today. If i hear something, i will let it know.
@all: Asked you guys already few times if Playlist works and Channelname isnt? Can you confirm this with the original plugin?
https://www.oxize.nl/about/ – See right side (used uploads playlist of channel)
wow, now it’s over ?? Google dumped it all. Didn’t expect they do it this fast – or this year.
Time to move on to something else – but what?
I have succesfully patched it: https://www.dropbox.com/s/vj98nxnquaagdxy/youtube-channel-gallery.php.zip?dl=0
I have followed these instructions: https://stackoverflow.com/questions/29752447/how-to-get-a-youtube-channel-rss-feed-after-2015-april-20-without-v3-api
@quacos – Downloaded your file again and pasted it into mine. Still get same error messages, and now, it doesn’t even show the not supported video. I am using the same valid user I always have been. Instead of videos it outputs all of this:
Warning: simplexml_load_string(): Entity: line 2: parser error : AttValue: " or ' expected in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): <html lang=en> in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): ^ in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): Entity: line 2: parser error : attributes construct error in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): <html lang=en> in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): ^ in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): Entity: line 2: parser error : Couldn't find end of Start Tag html line 2 in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): <html lang=en> in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): ^ in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): Entity: line 2: parser error : Extra content at the end of the document in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): <html lang=en> in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Warning: simplexml_load_string(): ^ in .../wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557 Message from server: Not Found. Check in YouTube if the id aBlogtoRead belongs to a user. To locate the id of your user check the FAQ of the plugin.
@oxizee Playlist works on sites I have that set up on. User ID (channel name) does not work on any sites I have it set up for that.
tried fix per @quacos – thanks
playlist fine
but
For Channel
as per @sn0wkrash ‘s reply to first post of @quacosSomething did change – instead of getting nothing to show up, a black box for the main video does show up, but the first thumbnail is the YouTube sad face not supported icon and no other thumbnails show up.
as per plugin authors page (english)
https://poselab.com/en/youtube-channel-gallery-demo-with-the-title-description-and-thumbnail-shown-at-the-top/However – the mystery continues !!!!!
the plugin authors page (spanish) is perfect!!!!
https://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-arriba/Because he uses Playlist like me (www.oxize.nl). Playlist works for me also good, but only problem i have is with setting it up for Channels.
Can report that i have had some success!! – with @quacos’s fix – thank you
see demo at authors spanish site
https://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-arriba/
The author’s shortcode
[Youtube_Channel_Gallery user=”AdobeADC” videowidth=”580″ ratio=”16×9″ theme=”light” color=”white” autoplay=”0″ rel=”1″ showinfo=”1″ maxitems=”9″ thumbwidth=”183″ thumbratio=”16×9″ thumbcolumns=”3″ title=”1″ description=”1″ thumbnail_alignment=”top” descriptionwordsnumber=”10″]
did NOT work for me
BUT BUT BUT
when I replaced user=”AdobeADC” with user=”UC0_6qw8ezz39Yz57bQt6how” – the id of that channel that shortcode did work. Similarily for other channels.
I have only patched the “channel mode” with a new RSS URL.
Okay, I got it…
I am not using a shortcode, but I realized I can’t use the userid the way the plugin author describes. I took the cue from @valuser – I logged into my youtube channel and saw this at the end of the URL: UCfaFafye0-ftr3roPVRU-Fg THAT is what I plugged into my widget as my userid instead of the username the way the author describes.
After I used @quacos patch, and AFTER I unchecked the cache option on the widget…. IT WORKS!
Oh, thank you everyone for your help! That was painful, but in the end, an easy fix for someone who comes across this now.
If using widgets and using userid:
1) get your real user id by logging into the youtube channel and grabbing it from the URL at the end
2) Plug that in to your widget as your userid
3) replace your youtube-channel-gallery.php file with the one @quacos posted
4) be sure to untick the box in the widget for caching, if it is tickedShould work now for channel/user ??
- The topic ‘Update to Youtube Data API v3?’ is closed to new replies.