In ancient times, when youtube was born, we didn’t have VIDEO tag. We used to have Flash. To play video on the website, we had to convert it to weird Flash video format, leave mp4 for safety and hope that everything will work fine. Later on, when HTML5 became a industry standard, our live become some much easier.
In the theory VIDEO tag solves all out issues. When browser can handle webm (Chrome family) we play webm.
There is a website, with iframe. I frame source is correct, but won’t display content of the website. No visible errors. There only small detail in the console:
Load denied by X-Frame-Options: https://... does not permit cross-origin framing.
Some crazy admin figure out that it’s going to be better… and put some crazy code into headers:
X-Frame-Options: SAMEORIGINX-XSS-Protection: 1; mode=blockX-Content-Type-Options: nosniff
Solution: talk to the hand, because admin won’t listen ;P
is a another alternative to
. For me the biggest advantage is that it’s only one binary file to work with. It’s easy to run, setup and just “works”. It’s super modern – handles HTTP2 and automatic HTTPS encryption using let’s encrypt certificates. Obviously it has plenty of other features but we focus only on speed of deployment.