Why Do YouTube Software Engineers Do This?


I have noticed the strange bug introduced by YouTube in the code they give you to embed a video on your own web pages.  I have just been manually fixing the code, but today i decided to see if anyone else has noticed this strange blunder.

A Google (believe it or not) search led me to a YouTube video (believe it or not) that explained what is going on.


I posted a comment on this YouTube video.

I just complained to YouTube about this before I decided to search the web to see if anybody has remarked about this.

The missing protocol does not seem to work for me on the latest version of Firefox which is 28.0 as of this writing.

At least, your video explains what is going on. I don’t know why YouTube does not just insert https: in the embed code. As you pointed out, this will always work. Why would YouTube take the chance that their stuff won’t work in many cases? They are not going to force me to use Google Chrome instead of Firefox. Also, it doesn’t make any difference what browser i use, I am concerned about all the peope who will visit my website. I want it to work for them no matter which browser or version that they choose to use.


Turns out that it may not have been in the Firefox browser where this broke, but it was actually when I was viewing an HTML email in the Thunderbird email reader. Think about how this relates to measuring risk in software as mentioned below.

As an engineer and a software one at that, I always believed in risk minimization in my projects. I could never understand why others believed in risk maximization. I could never give into the fact of life that people who wrote defective software and then heroically fixed it were better rewarded than people who wrote software that just worked reliably from day one.

Maybe I have hit upon an idea for a new app that is bound to make me a fortune. I’ll create software that will insert bugs into your code. It will tell you exactly where it put the bug and exactly how to fix it. That way, when your newly released software fails, you can pretend that you are putting in a heroic effort to fix it. Miraculously, you will always be able to fix your code in the nick of time. Maybe such a software app was used on the ACA signup web sites, but they forgot the step of how to take the bugs out.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.