5 ms·
I believe this is about allowing this kind of markup (that exists on old web pages that haven’t been updated for a long time) to still work: <embed src="http
by chrismorgan 4y ago
I believe this is about allowing this kind of markup (that exists on old web pages that haven’t been updated for a long time) to still work:
<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.
- pknerd 4y agoAm I the only one who actually visited this Youtube link by copying and pasting in address bar?
- 10000truths 4y agoAnyone who’s been on the Internet long enough will have wisened up to the fabled YouTube link ending in in XcQ.
- neodypsis 4y ago> Anyone who’s been on the Internet long enough will have wisened up to the fabled YouTube link ending in in XcQ "We've known each other for so long"
- chrismorgan 4y agoFunny, it’s the dQw that I recognise.
- Akronymus 4y agoThats why I use this one: https://www.youtube.com/watch?v=oT3mCybbhf0 https://www.youtube.com/watch?v=oT3mCybbhf0
- mattnewton 4y agoI didn’t need to, there’s only one video that makes sense, and the “…XcG” seemed familiar
- eastbound 4y agoSo much that the poor people who were also randomly given a URL finishing with XcQ can’t make people read their video, and Youtube will need a specific exception to ensure generated codes don’t finish with that.
- deepstack 4y agothe all the embed tags video broke on my old site with youtube video embed when this was done, I just changed my code, but I guess a lot people probably complained. So there you go.
- Dwedit 4y agoSomething really really wrong just happened, I just saw an ad on Youtube. I didn't think that was possible.
- userbinator 4y agoIt's strange that they thought of essentially taking responsibility for a change that YouTube did to break embeds.
- capableweb 4y agoSomeone correct me if I'm wrong, but I think <embed> was used because it embedded a flash player, back when flash existed on the web. Then browsers decided to get rid of flash, and something had to replace it. You can't <embed> HTML pages, so wasn't really up to YouTube if to break it or not.
- deleted 4y ago[deleted]
- cxr 4y ago> Someone correct me if I'm wrong[...] You can't <embed> HTML pages You are wrong.
- capableweb 4y ago16 people say I'm right, one person say I'm wrong. I'm not doubting you, but I'd love it if you could show how I'm wrong? Maybe I misremember how to use <embed>.
- forgotpwd16 4y agoHere's an example by infamous w3schools: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_embed_html https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_e...
- cxr 4y ago> 16 people say I'm right Where? To be clear, it doesn't matter—being wrong is wrong. Those other people, even if they exist, are wrong, too. (I can half-understand not checking before you posted the original comment. But why wouldn't you, in response to someone letting you know that you are wrong—which was itself in response to you asking, by the way—take half as much time to just check as the amount of time it took to type out such an bewilderingly obnoxious followup?)