Shut off video and close window

@Paul_Wilkins,

Thanks you so much for all of the help and explanation!!!

I have to say that your last post was a bit overwhelming, which I why I keep avoiding Javascript. But it is good to get a start off with it thanks to your help.

Why do I put the Javascript at the end of the my webpage?

Since I am technically using PHP, can I use an include and put your script in its own file?