2022-09-11

I mentioned in my last post that I wasn't really able
to get the youtube embed objects to validate under
the HTML 3.2 standard. I tried to get it to validate
under HTML 4.01 Transitional and I had a little bit
better luck. I had to manually edit the iframe text
string that youtube provides everytime you click
the embed option to share.

Essentially the youtube iframe has references to
some attributes called "allow" and "allowfullscreen"
which were obviously invented after the HTML 4.01
standard.

When you remove those attributes, the HTML validates.

I haven't noticed any real impact that those attributes
provide on desktop browsers at least. I suspect that
it may impact mobile users.