by chrismorgan · 4y ago · 0 comments
<embed src="http://www.youtube.com/v/dQw4w9WgXcQ"></embed>
… by roughly translating it into <iframe src="http://www.youtube.com/embed/dQw4w9WgXcQ"></iframe>
Probably also the <object> equivalent, maybe only that and not <embed>, I’m not sure. I never had a great deal to do with those two tags.I don’t know why it has to be done this way. I’d have thought that without this extra code it’d roughly fall back to being an iframe on the original URL, and then YouTube could just check if it’s in a frame and behave as an embed instead of the main UI. But there’s probably a reason why they’ve all done it this kind of way.
You are wrong.
During this broad migration by the browser community away from supporting plugins within embed tags, there was likely some audits of how widely they were relied upon across the web, and compat hacks put in place to account for the most common uses.
It's very likely Youtube removed endpoints after the browser hacks were in place for some time.
"We've known each other for so long"