Not the case, @AntiMetaman.
As @codinghorror suggested above, YouTube appears to rate-limit / ban certain formats of YouTube links work where others continue to work.
In my case the ‘/embed’ format of link works but others don’t.
It looks like YouTube provides rate limits that are different per format. The ‘/embed’ one seems to allow for greater numbers. That’s purely anecdotal and I haven’t got any hard data on that.
A few questions
Are you hosting on Digital Ocean?
Are you running IPv6?
Have you checked that the video id is correctly formed - 11 characters? (stupid question - but you’d be suprised
For a given YouTube video have you tried each of the three supported formats? - i.e.
Which worked and which didn’t?
I have banged my head against this problem for weeks but managed to get a workable solution - but I really don’t understand why it works.
Assuming that you’re seeing the same problem try installing the Onebox Assistant, then enable it but don’t configure it.
I found I needed to bounce the server after enabling it to ensure it worked.
In this configuration - which really should not work at all - my otherwise rate-limited YouTube videos (in any format) get expanded by Onebox - but I have no idea how this works.
I have been discussing the issue with @merefield (the author) here…
https://meta.discourse.org/t/onebox-assistant-crawl-for-those-previews-reliably/107405/36?u=bletch
IF, and it’s a big IF, this also works for you, it’s not a proper fix as it’s just a quirk of method return values and shouldn’t be relied on long-term.
Separately, I’ve also used the Onebox Assistant plugin as it was intended - by subscribing to embed.rocks and it works like a charm.