Author Topic: "Sorry, there was a Youtube error"  (Read 2050 times)

0 Members and 1 Guest are viewing this topic.

Offline PeabodyTopic starter

  • Super Contributor
  • ***
  • Posts: 2008
  • Country: us
"Sorry, there was a Youtube error"
« on: May 20, 2020, 09:23:02 pm »
When I go to www.eevblog.com to view the latest video, I get a black Youtube window, below which it says "Sorry, there was a Youtube error."  If I click on the Play triangle anyway it says "An error occurred, please try again later."  It's been that way for a few days now.  If I go to the EEVBlog on Youtube directly, it all works fine - all five of the current series are there.  So it looks like something is wrong with the website.
 

Offline gir

  • Contributor
  • Posts: 16
  • Country: at
Re: "Sorry, there was a Youtube error"
« Reply #1 on: May 23, 2020, 06:17:14 pm »
Probably whatever wordpress plugin Dave uses stopped working. I think he complained about Youtube suspending his API keys, somewhere? @eevblog: In case you want to write your own and not rely on any APIs: the youtube-provided rss-feed returns your last 15 videos. I haven't written PHP in ages, but extracting the video id from that is fairly easy:

Code: [Select]
<?php
$xml 
file_get_contents("https://www.youtube.com/feeds/videos.xml?channel_id=UC2DjFE7Xf11URZqWBigcVOQ");
$xmldata simplexml_load_string($xml);
$id $xmldata->entry[0]->children("https://www.youtube.com/xml/schemas/2015")->videoId;
echo 
'<iframe src="https://www.youtube.com/embed/'.$id.'"></iframe>'

caching is left as an exercise for the reader :P
 

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3367
  • Country: nl
Re: "Sorry, there was a Youtube error"
« Reply #2 on: May 28, 2020, 08:50:18 pm »
I'm still seeing this on 2020-05-28 and I think this may need a bump.
 

Offline Gixy

  • Regular Contributor
  • *
  • Posts: 232
  • Country: fr
Re: "Sorry, there was a Youtube error"
« Reply #3 on: May 30, 2020, 06:51:57 am »
Hi,
Same here for several weeks and already signaled on another thread with no answer. Sometimes things come back normal but not for a long time.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf